diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-canary-stability/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-canary-stability/APKBUILD b/user/perl-canary-stability/APKBUILD new file mode 100644 index 000000000..f68eadfc0 --- /dev/null +++ b/user/perl-canary-stability/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-canary-stability +pkgver=2012 +pkgrel=0 +pkgdesc="Canary to check Perl compatibility for schmorp's modules" +url="https://metacpan.org/pod/Canary::Stability" +arch="noarch" +license="Artistic-1.0-Perl AND GPL-2.0" +depends="perl" +makedepends="perl-dev" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Canary-Stability-$pkgver.tar.gz" +builddir="$srcdir/Canary-Stability-$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="7780731e4142d536182e1820c041c43ae67c5b47c044f15d8dcc060646bbab10a974bddcb703fdb27f427db3cd4dbdff54e131dc708c0260d7275be869eb27b1 Canary-Stability-2012.tar.gz" |