aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-16 09:24:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-16 12:54:44 +0000
commit7d5da808e17d135e55c456ce8b9f83eef4e7e7ec (patch)
tree03c606baf0bc8f60bb7f8541730bd442464f0c7e
parent85d64e4398073d9d311df676eb9861a89c22fde4 (diff)
downloadaports-7d5da808e17d135e55c456ce8b9f83eef4e7e7ec.tar.bz2
aports-7d5da808e17d135e55c456ce8b9f83eef4e7e7ec.tar.xz
main/perl-want: upgrade to 0.26
-rw-r--r--main/perl-want/APKBUILD38
1 files changed, 19 insertions, 19 deletions
diff --git a/main/perl-want/APKBUILD b/main/perl-want/APKBUILD
index 0993b4c786..15a2d99246 100644
--- a/main/perl-want/APKBUILD
+++ b/main/perl-want/APKBUILD
@@ -1,33 +1,33 @@
+# Automatically generated by apkbuild-cpan, template 1
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-want
-pkgver=0.23
+_pkgreal=Want
+pkgver=0.26
pkgrel=0
-pkgdesc="Want perl module"
+pkgdesc="unknown"
url="http://search.cpan.org/dist/Want/"
arch="all"
-license="GPLv2 or Artistic"
-depends="perl"
-makedepends="perl-dev"
-install=""
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/R/RO/ROBIN/Want-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/R/RO/ROBIN/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
-_builddir="$srcdir"/Want-$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
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make && make test || return 1
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
}
package() {
@@ -36,6 +36,6 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="0eb0140b709b0a707bee62080a1d1df8 Want-0.23.tar.gz"
-sha256sums="773d7eea27f3f49ac61982b0dd51778d70add38fc8daa8746beb628563bff723 Want-0.23.tar.gz"
-sha512sums="e0b893a3a76d4d356ccb9bd8af650fdcbd1a837f8b51579e0eb74b531598ec2a8496dc5e27e36872464c06b1e9785baa9a19dda8056ecfeb9c650429beb2e81a Want-0.23.tar.gz"
+md5sums="3f63f10da1d5407d72a64ef62b5e6264 Want-0.26.tar.gz"
+sha256sums="4951675e13de2b0b9792be2827b8ef46ef25a0b9a2d3e9132143444dac28e17c Want-0.26.tar.gz"
+sha512sums="4b10d483068f0ab976c247b416477fe42903e06abf46678d5c5cb2308732b69038761b7aaefe42e232d666c3032e6cf303c11918f10dde1572bf25aa3ae1e8bd Want-0.26.tar.gz"