diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 03:58:24 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-02 03:58:24 +0000 |
commit | fdfebae7e1c11bcf97fa63e0d4a57887b54e16e9 (patch) | |
tree | ca73c987755e87b693574f35f21f923c9b04d93e /user | |
parent | c97044e6ec4b4ea2c750dcd55a8d462c7de90da1 (diff) | |
download | packages-fdfebae7e1c11bcf97fa63e0d4a57887b54e16e9.tar.gz packages-fdfebae7e1c11bcf97fa63e0d4a57887b54e16e9.tar.bz2 packages-fdfebae7e1c11bcf97fa63e0d4a57887b54e16e9.tar.xz packages-fdfebae7e1c11bcf97fa63e0d4a57887b54e16e9.zip |
user/perl-specio: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-specio/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/perl-specio/APKBUILD b/user/perl-specio/APKBUILD new file mode 100644 index 000000000..d8a78f519 --- /dev/null +++ b/user/perl-specio/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-specio +pkgver=0.42 +pkgrel=0 +pkgdesc="Type constraints and coercions for Perl" +url="https://metacpan.org/release/Specio" +arch="noarch" +license="Artistic-2.0" +depends="perl-devel-stacktrace perl-eval-closure perl-mro-compat + perl-module-runtime perl-role-tiny perl-sub-quote perl-test-fatal + perl-try-tiny" +makedepends="perl-dev" +checkdepends="perl-test-needs" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Specio-$pkgver.tar.gz" +builddir="$srcdir/Specio-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="7a9ff3e96cf3957d7857cd5f6af5efd9e35fc4c888fcd8177041e34a2388f54269e7a3da84ec60961fb61307beb882ebf54e19ae4346876e06197b1ff57891a0 Specio-0.42.tar.gz" |