diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2022-05-11 21:23:49 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:33:59 -0500 |
commit | b54ba3fb07e1a5cbef47c1a0d5be7402bb922a76 (patch) | |
tree | ea3266292fd8c4ba7e700a6b628151623d0b797f /user | |
parent | e564c182c3704f0929745fdebd3a889eff66de4c (diff) | |
download | packages-b54ba3fb07e1a5cbef47c1a0d5be7402bb922a76.tar.gz packages-b54ba3fb07e1a5cbef47c1a0d5be7402bb922a76.tar.bz2 packages-b54ba3fb07e1a5cbef47c1a0d5be7402bb922a76.tar.xz packages-b54ba3fb07e1a5cbef47c1a0d5be7402bb922a76.zip |
user/perl-xstring: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-xstring/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/user/perl-xstring/APKBUILD b/user/perl-xstring/APKBUILD new file mode 100644 index 000000000..815897d8b --- /dev/null +++ b/user/perl-xstring/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=perl-xstring +pkgver=0.005 +pkgrel=0 +pkgdesc="String helpers originally from B-namespace modules" +url="https://metacpan.org/pod/XString" +arch="all" +license="GPL-1.0+ OR Artistic-1.0-Perl" +depends="perl" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/A/AT/ATOOMIC/XString-$pkgver.tar.gz" +builddir="$srcdir/XString-$pkgver" + +build() { + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="4a6055e9e59169b77e04e8b890944b3a7bc4ff9844ad6b2557f7181f7b1c8576a7aab7ebee351044cbac8f3bff2d37dea2af4bc7ff775fbc3a398c9785c53aaf XString-0.005.tar.gz" |