diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2022-05-05 03:03:50 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:33:58 -0500 |
commit | 1d10fbb81f70e9eef224aab22750785e7defe440 (patch) | |
tree | db6e83d38629f114305d5691e18fbc50bdeebea7 /user/perl-test-identity/APKBUILD | |
parent | 1b6a3835648744f5414e25bab56e89084f121ca8 (diff) | |
download | packages-1d10fbb81f70e9eef224aab22750785e7defe440.tar.gz packages-1d10fbb81f70e9eef224aab22750785e7defe440.tar.bz2 packages-1d10fbb81f70e9eef224aab22750785e7defe440.tar.xz packages-1d10fbb81f70e9eef224aab22750785e7defe440.zip |
user/perl-test-identity: new package
Diffstat (limited to 'user/perl-test-identity/APKBUILD')
-rw-r--r-- | user/perl-test-identity/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-test-identity/APKBUILD b/user/perl-test-identity/APKBUILD new file mode 100644 index 000000000..94cb785c5 --- /dev/null +++ b/user/perl-test-identity/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=perl-test-identity +_pkgreal=Test-Identity +_author=PEVANS +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=0.01 +pkgrel=0 +pkgdesc="Assert the referential identity of a reference" +url="https://metacpan.org/pod/Test::Identity" +arch="noarch" +license="GPL-1.0+ OR Artistic-1.0-Perl" +depends="perl" +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="eee20978e2e39a11c5649b4609840f02686482f8fe4c0c2de639bfd9749ba9a08202f70b660432f1142ff800824ee2a6e9e43873f3f089041cd3e864ff502c32 Test-Identity-0.01.tar.gz" |