diff options
-rw-r--r-- | user/perl-string-tagged/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-string-tagged/APKBUILD b/user/perl-string-tagged/APKBUILD new file mode 100644 index 000000000..2289d89a1 --- /dev/null +++ b/user/perl-string-tagged/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=perl-string-tagged +_pkgreal=String-Tagged +_author=PEVANS +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=0.18 +pkgrel=0 +pkgdesc="String buffers with value tags on extents" +url="https://metacpan.org/pod/String::Tagged" +arch="noarch" +license="GPL-1.0+ OR Artistic-1.0-Perl" +depends="perl" +checkdepends="perl-test-identity" +makedepends="perl-module-build" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +build() { + perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor" + ./Build +} + +check() { + ./Build test +} + +package() { + ./Build install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="f5acbdef4fd6f4da702bf14c64228b9cf72e8f52d5b15e21a0c8aa6d53f052cac93e8f4cc0d984a36f8c71ace9bf2096b6017bfe153f14dedddae51a68a3dcdc String-Tagged-0.18.tar.gz" |