aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-12-25 10:03:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-25 10:06:15 +0000
commit85e085ca7e85056aa854a0f3e600332eeccb98ba (patch)
tree0f48f333b20faafae23cbb25591aa57e74613c57 /main
parent0e9f5175efef763139c69d898d516fd454383ac3 (diff)
downloadaports-85e085ca7e85056aa854a0f3e600332eeccb98ba.tar.bz2
aports-85e085ca7e85056aa854a0f3e600332eeccb98ba.tar.xz
main/perl-class-singleton: upgrade to 1.5
Diffstat (limited to 'main')
-rw-r--r--main/perl-class-singleton/APKBUILD37
1 files changed, 19 insertions, 18 deletions
diff --git a/main/perl-class-singleton/APKBUILD b/main/perl-class-singleton/APKBUILD
index 3305f058b9..37f7d18dcc 100644
--- a/main/perl-class-singleton/APKBUILD
+++ b/main/perl-class-singleton/APKBUILD
@@ -1,33 +1,32 @@
-# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-class-singleton
-pkgver=1.4
+_pkgreal=Class-Singleton
+pkgver=1.5
pkgrel=0
-pkgdesc="Class::Singleton perl module"
+pkgdesc="Base class for creating singleton objects"
url="http://search.cpan.org/dist/Class-Singleton/"
arch="noarch"
-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/A/AB/ABW/Class-Singleton-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/S/SH/SHAY/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
-_builddir="$srcdir"/Class-Singleton-$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,4 +35,6 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="a18b108ab97e2107cbbe816d2b3e2ee3 Class-Singleton-1.4.tar.gz"
+md5sums="6a2524f590eda075f4bc929598119241 Class-Singleton-1.5.tar.gz"
+sha256sums="38220d04f02e3a803193c2575a1644cce0b95ad4b95c19eb932b94e2647ef678 Class-Singleton-1.5.tar.gz"
+sha512sums="f061a8b92d5f65e4fbcd14ef36ff1216f84443f487de34c98f7d08d6d18148f156c0cbd6249e75ac448c17547d1172dbda8b670a8e7573d3581c9c1196eb4804 Class-Singleton-1.5.tar.gz"