summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-25 22:12:25 -0700
committerDan Theisen <djt@hxx.in>2018-09-25 22:12:25 -0700
commit6ad43fafbbcd2ec5571eda6db0e7722278923539 (patch)
tree7f2732a32df987a28e397397c8c8437caa71a6fa /user
parentddf236d7bc9aa79ce5c6e665c7b922f3567d25f3 (diff)
downloadpackages-6ad43fafbbcd2ec5571eda6db0e7722278923539.tar.gz
packages-6ad43fafbbcd2ec5571eda6db0e7722278923539.tar.bz2
packages-6ad43fafbbcd2ec5571eda6db0e7722278923539.tar.xz
packages-6ad43fafbbcd2ec5571eda6db0e7722278923539.zip
user/perl-canary-stability: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-canary-stability/APKBUILD34
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"