aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-04-26 00:30:07 -0300
committerTimo Teräs <timo.teras@iki.fi>2019-05-28 09:56:08 +0300
commitdaf61f5828751977dc5c01319202d11ad7d2fd70 (patch)
treeaee20984c1a89368b3d25ee089f3f4bd4b78f8b5
parentf1798e787c042e081bff260abdf45dfb22f3f4a8 (diff)
downloadaports-daf61f5828751977dc5c01319202d11ad7d2fd70.tar.gz
aports-daf61f5828751977dc5c01319202d11ad7d2fd70.tar.bz2
aports-daf61f5828751977dc5c01319202d11ad7d2fd70.tar.xz
main/perl-canary-stability: update to 2013
-rw-r--r--main/perl-canary-stability/APKBUILD37
1 files changed, 15 insertions, 22 deletions
diff --git a/main/perl-canary-stability/APKBUILD b/main/perl-canary-stability/APKBUILD
index 0af000ded6..e5e8a40ffb 100644
--- a/main/perl-canary-stability/APKBUILD
+++ b/main/perl-canary-stability/APKBUILD
@@ -1,40 +1,33 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=perl-canary-stability
-pkgver=2012
+pkgver=2013
pkgrel=0
pkgdesc="CPAN/Canary-Stability - canary to check perl compatability for schmorp's modules"
url="https://metacpan.org/release/Canary-Stability"
arch="noarch"
-license="PerlArtistic GPL"
-depends=""
-depends_dev=""
-makedepends="$depends_dev perl-dev"
-install=""
+license="GPL-1.0-or-later Artistic-1.0-Perl"
+makedepends="perl"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/Canary-Stability-$pkgver.tar.gz"
-_builddir="$srcdir"/Canary-Stability-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/Canary-Stability-$pkgver
build() {
- cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
+ 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 || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="7780731e4142d536182e1820c041c43ae67c5b47c044f15d8dcc060646bbab10a974bddcb703fdb27f427db3cd4dbdff54e131dc708c0260d7275be869eb27b1 Canary-Stability-2012.tar.gz"
+sha512sums="9dfb0e6d136048050aac7c29e1fc79dc2a7703c8800582aa837c5d9b9934c48bfcb0a9ef1c6b5bb7e71a10a709e7f7431b3c79ea12b8d9f374b33bfd4a3e468d Canary-Stability-2013.tar.gz"