diff options
-rw-r--r-- | community/perl-net-dns-sec/APKBUILD | 25 | ||||
-rw-r--r-- | community/perl-net-iptrie/APKBUILD | 27 | ||||
-rw-r--r-- | community/perl-number-compare/APKBUILD | 23 | ||||
-rw-r--r-- | community/perl-object-insideout/APKBUILD | 25 | ||||
-rw-r--r-- | community/perl-ole-storage_lite/APKBUILD | 23 | ||||
-rw-r--r-- | community/perl-package-variant/APKBUILD | 23 | ||||
-rw-r--r-- | community/perl-path-tiny/APKBUILD | 13 | ||||
-rw-r--r-- | community/perl-proc-waitstat/APKBUILD | 14 | ||||
-rw-r--r-- | community/perl-provide/APKBUILD | 25 | ||||
-rw-r--r-- | community/perl-readonly/APKBUILD | 15 | ||||
-rw-r--r-- | community/perl-regexp-tr/APKBUILD | 25 | ||||
-rw-r--r-- | community/perl-sort-key/APKBUILD | 17 | ||||
-rw-r--r-- | community/perl-spiffy/APKBUILD | 13 | ||||
-rw-r--r-- | community/perl-spreadsheet-parseexcel/APKBUILD | 23 | ||||
-rw-r--r-- | community/perl-strictures/APKBUILD | 23 | ||||
-rw-r--r-- | community/perl-sub-exporter/APKBUILD | 23 | ||||
-rw-r--r-- | community/perl-sub-install/APKBUILD | 21 | ||||
-rw-r--r-- | community/perl-sys-syslog/APKBUILD | 11 |
18 files changed, 225 insertions, 144 deletions
diff --git a/community/perl-net-dns-sec/APKBUILD b/community/perl-net-dns-sec/APKBUILD index 3ee16ceaef..e3f3cc3985 100644 --- a/community/perl-net-dns-sec/APKBUILD +++ b/community/perl-net-dns-sec/APKBUILD @@ -4,7 +4,7 @@ pkgname=perl-net-dns-sec _pkgreal=Net-DNS-SEC pkgver=1.03 -pkgrel=0 +pkgrel=1 pkgdesc="DNSSEC extensions to Net::DNS" url="http://search.cpan.org/dist/Net-DNS-SEC/" arch="noarch" @@ -12,32 +12,37 @@ license="mit" cpandepends="perl-crypt-openssl-dsa perl-net-dns perl-crypt-openssl-rsa perl-crypt-openssl-random perl-digest-bubblebabble perl-mime-base32 perl-crypt-openssl-bignum" -cpanmakedepends=" " +cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + default_prepare + + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test + 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 } -md5sums="78b84a9b9b078801c51637fb0bb127a3 Net-DNS-SEC-1.03.tar.gz" -sha256sums="7d89ed9a140f80a3ad84799c7b00d17328e18bb763765910af2c661e5e5035e7 Net-DNS-SEC-1.03.tar.gz" sha512sums="17d9f2125b9ed687791941ea777927daf8cfe4a6a379d02cda499fb01a71606b1c01154a3d4f2f2ffb70f5a658aaf02e64c8e5cc308de8c8e0cc543271ee7bce Net-DNS-SEC-1.03.tar.gz" diff --git a/community/perl-net-iptrie/APKBUILD b/community/perl-net-iptrie/APKBUILD index 57e2cd7698..e8f3c706c6 100644 --- a/community/perl-net-iptrie/APKBUILD +++ b/community/perl-net-iptrie/APKBUILD @@ -4,7 +4,7 @@ pkgname=perl-net-iptrie _pkgreal=Net-IPTrie pkgver=0.7 -pkgrel=1 +pkgrel=2 pkgdesc="Perl module for building IPv4 and IPv6 address space hierarchies" url="http://search.cpan.org/dist/Net-IPTrie/" arch="noarch" @@ -16,25 +16,30 @@ makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/C/CV/CVICENTE/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 + default_prepare + + cd "$builddir" + perl Build.PL installdirs=vendor } build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + ./Build +} + +check() { + cd "$builddir" + ./Build test } package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 + cd "$builddir" + ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="c465a27fdac74109b34dfbc271adb90d Net-IPTrie-0.7.tar.gz" -sha256sums="1ccd1eea53a06d0524efc42fd465dfc5997149d77f87d86f1ccf0e2e05d58e05 Net-IPTrie-0.7.tar.gz" sha512sums="6f1033f078aeed7d76dfc5f7a5a55c02601205c8b3e1626ecee6205e136c3c736cfb658b4f48cd24fba5491f2cb44a793cd942752f03489f40decbf242f80aad Net-IPTrie-0.7.tar.gz" diff --git a/community/perl-number-compare/APKBUILD b/community/perl-number-compare/APKBUILD index 5da1cab633..ba8bab2f93 100644 --- a/community/perl-number-compare/APKBUILD +++ b/community/perl-number-compare/APKBUILD @@ -4,7 +4,7 @@ pkgname=perl-number-compare _pkgreal=Number-Compare pkgver=0.03 -pkgrel=0 +pkgrel=1 pkgdesc="unknown" url="http://search.cpan.org/dist/Number-Compare/" arch="noarch" @@ -16,26 +16,31 @@ makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/R/RC/RCLAMP/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + default_prepare + + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test + 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 } -md5sums="ded4085a8fc96328742785574ca65208 Number-Compare-0.03.tar.gz" -sha256sums="83293737e803b43112830443fb5208ec5208a2e6ea512ed54ef8e4dd2b880827 Number-Compare-0.03.tar.gz" sha512sums="fc7efb0177bcb84142619b7d8c0252f4548e547650ddbe9cfafaba97b8ae791c20fbffa6f8b01449b9dd217d9914f94bfeaff57cdfdc2c11e2a1456992bd9893 Number-Compare-0.03.tar.gz" diff --git a/community/perl-object-insideout/APKBUILD b/community/perl-object-insideout/APKBUILD index 07b4f03497..24ae9000eb 100644 --- a/community/perl-object-insideout/APKBUILD +++ b/community/perl-object-insideout/APKBUILD @@ -4,7 +4,7 @@ pkgname=perl-object-insideout _pkgreal=Object-InsideOut pkgver=4.02 -pkgrel=0 +pkgrel=1 pkgdesc="Comprehensive inside-out object support module" url="http://search.cpan.org/dist/Object-InsideOut/" arch="noarch" @@ -16,24 +16,29 @@ makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/J/JD/JDHEDDEN/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 + default_prepare + + cd "$builddir" + perl Build.PL installdirs=vendor } build() { - cd "$_builddir" - ./Build && ./Build test + cd "$builddir" + ./Build +} + +check() { + cd "$builddir" + ./Build test } package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 + cd "$builddir" + ./Build install destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="aca3e8b0b15423d22ddfc95868ba5d00 Object-InsideOut-4.02.tar.gz" -sha256sums="e38a2435325d00427977b2fb89b54e61aedcf56f49a0236473ca995967b713ec Object-InsideOut-4.02.tar.gz" sha512sums="a89be17e0c765e3f0386eba2b945e7923fbf420ee492b1fdc32391dd4a183b21c1aae66998b9b8303b466bb82e54fa5d1518b085730a63f363e4062777d1a9c4 Object-InsideOut-4.02.tar.gz" diff --git a/community/perl-ole-storage_lite/APKBUILD b/community/perl-ole-storage_lite/APKBUILD index f2032dfcc4..ab0951dcd5 100644 --- a/community/perl-ole-storage_lite/APKBUILD +++ b/community/perl-ole-storage_lite/APKBUILD @@ -4,35 +4,42 @@ pkgname=perl-ole-storage_lite _pkgreal=OLE-Storage_Lite pkgver=0.19 -pkgrel=0 +pkgrel=1 pkgdesc="Read and write OLE storage files." url="http://search.cpan.org/dist/OLE-Storage_Lite/" arch="noarch" license="GPL PerlArtistic" cpandepends="" -cpanmakedepends=" " +cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/J/JM/JMCNAMARA/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + default_prepare + + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test + 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 } diff --git a/community/perl-package-variant/APKBUILD b/community/perl-package-variant/APKBUILD index 77a92d1b5d..4e211cdae7 100644 --- a/community/perl-package-variant/APKBUILD +++ b/community/perl-package-variant/APKBUILD @@ -4,7 +4,7 @@ pkgname=perl-package-variant _pkgreal=Package-Variant pkgver=1.003002 -pkgrel=0 +pkgrel=1 pkgdesc="Parameterizable packages" url="http://search.cpan.org/dist/Package-Variant/" arch="noarch" @@ -16,26 +16,31 @@ makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + default_prepare + + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test + 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 } -md5sums="f898ec7426e051ca4431fd8afed24937 Package-Variant-1.003002.tar.gz" -sha256sums="b2ed849d2f4cdd66467512daa3f143266d6df810c5fae9175b252c57bc1536dc Package-Variant-1.003002.tar.gz" sha512sums="0f311e73049df9a7a43a3e9eb3e4ba48120d119ab92161a4c0da532625d5705c6ee5b50f57d6b40ded30df82ce13b9dcced28894ddc7ee0068787b782fd33a4a Package-Variant-1.003002.tar.gz" diff --git a/community/perl-path-tiny/APKBUILD b/community/perl-path-tiny/APKBUILD index 6fd88adde3..ded5e18289 100644 --- a/community/perl-path-tiny/APKBUILD +++ b/community/perl-path-tiny/APKBUILD @@ -4,13 +4,13 @@ pkgname=perl-path-tiny _pkgreal=Path-Tiny pkgver=0.104 -pkgrel=0 +pkgrel=1 pkgdesc="File path utility" url="http://search.cpan.org/dist/Path-Tiny/" arch="noarch" license="apache_2_0" cpandepends="" -cpanmakedepends=" perl-test-mockrandom perl-test-failwarnings" +cpanmakedepends="perl-test-mockrandom perl-test-failwarnings" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" @@ -18,7 +18,7 @@ source="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_pkgreal-$pkgver.t builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') @@ -28,7 +28,12 @@ prepare() { build() { cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - make && make test + make +} + +check() { + cd "$builddir" + make test } package() { diff --git a/community/perl-proc-waitstat/APKBUILD b/community/perl-proc-waitstat/APKBUILD index 97cb915ccd..604cd49038 100644 --- a/community/perl-proc-waitstat/APKBUILD +++ b/community/perl-proc-waitstat/APKBUILD @@ -3,7 +3,7 @@ pkgname=perl-proc-waitstat _pkgreal=Proc-WaitStat pkgver=1.00 -pkgrel=1 +pkgrel=2 pkgdesc="Perl module interpret and act on wait() status values" url="http://search.cpan.org/dist/Proc-WaitStat/" arch="noarch" @@ -16,8 +16,9 @@ source="http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/$_pkgreal-$pkgver.tar. builddir="$srcdir/$_pkgreal-$pkgver" prepare() { + default_prepare + cd "$builddir" - default_prepare || return 1 export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } @@ -25,7 +26,12 @@ prepare() { build() { cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test + make +} + +check() { + cd "$builddir" + make test } package() { @@ -36,6 +42,4 @@ package() { rm -fr "$pkgdir"/usr/share/perl5 } -md5sums="b911bd579b6b142391b21de1efa30c95 Proc-WaitStat-1.00.tar.gz" -sha256sums="d07563f5e787909d16e7390241e877f49ab739b1de9d0e2ea1a41bd0bf4474bc Proc-WaitStat-1.00.tar.gz" sha512sums="7abc1c3771ec560e6138cc7709ca4527a34c897067e13afd57d096d664d6d11a1d80898a955404d8b583972eae8c80689fd8421adaee9bed2601e47afe9ef235 Proc-WaitStat-1.00.tar.gz" diff --git a/community/perl-provide/APKBUILD b/community/perl-provide/APKBUILD index 03be8cce58..1ec374fcc6 100644 --- a/community/perl-provide/APKBUILD +++ b/community/perl-provide/APKBUILD @@ -3,38 +3,43 @@ pkgname=perl-provide _pkgreal=provide pkgver=0.03 -pkgrel=0 +pkgrel=1 pkgdesc="easily choose between different version-specific implementations" url="http://search.cpan.org/dist/provide/" arch="noarch" license="GPL PerlArtistic" cpandepends="" -cpanmakedepends=" " +cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/B/BE/BELDEN/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + default_prepare + + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test + 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 } -md5sums="213587bbc758179d39c40285d83fe575 provide-0.03.tar.gz" -sha256sums="565c8a5e4b09e6724bf8a2df33a4364e98c05dd7d2835821457a2f787cfe2446 provide-0.03.tar.gz" sha512sums="d16762c4c2ecc69619904d9eb81cbc75dc253f85bf2c52ec17d08b3fa64ebf1897521e9d60cb541884e9ccf0fe0b51420eb57d4b09daabeda29ea00d8a90f6f1 provide-0.03.tar.gz" diff --git a/community/perl-readonly/APKBUILD b/community/perl-readonly/APKBUILD index 1aa6d4cb2e..2764b181de 100644 --- a/community/perl-readonly/APKBUILD +++ b/community/perl-readonly/APKBUILD @@ -3,7 +3,7 @@ pkgname=perl-readonly _pkgname=Readonly pkgver=2.05 -pkgrel=0 +pkgrel=1 pkgdesc="Facility for creating read-only scalars, arrays, hashes" url="https://github.com/sanko/readonly" arch="noarch" @@ -14,21 +14,26 @@ source="https://cpan.metacpan.org/authors/id/S/SA/SANKO/$_pkgname-$pkgver.tar.gz builddir="$srcdir/$_pkgname-$pkgver" prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - perl Build.PL --installdirs=vendor || return 1 + perl Build.PL --installdirs=vendor } build() { cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - ./Build && ./Build test + ./Build +} + +check() { + cd "$builddir" + ./Build test } package() { cd "$builddir" - ./Build install --destdir="$pkgdir" || return 1 + ./Build install --destdir="$pkgdir" find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } diff --git a/community/perl-regexp-tr/APKBUILD b/community/perl-regexp-tr/APKBUILD index d02aea24a2..525c8edb48 100644 --- a/community/perl-regexp-tr/APKBUILD +++ b/community/perl-regexp-tr/APKBUILD @@ -4,38 +4,43 @@ pkgname=perl-regexp-tr _pkgreal=Regexp-Tr pkgver=0.05 -pkgrel=0 +pkgrel=1 pkgdesc="Run-time-compiled tr/// objects." url="http://search.cpan.org/dist/Regexp-Tr/" arch="noarch" license="GPL PerlArtistic" cpandepends="" -cpanmakedepends=" " +cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/C/CH/CHIA/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + default_prepare + + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test + 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 } -md5sums="1c01cb427ae8cfeba5d92fb392336510 Regexp-Tr-0.05.tar.gz" -sha256sums="d3e1563cb2eb04419715407766c402e702b351648edf2630fe7b6ee4ecfd81cd Regexp-Tr-0.05.tar.gz" sha512sums="2ef505f63790146fb57e76da5cea604c62d98b214b5db2eadd617059d29c3a8c7f923a4a5dc1f9152fbe36fea6f069821292b7fa2c38cc6f82fc536909eed5f9 Regexp-Tr-0.05.tar.gz" diff --git a/community/perl-sort-key/APKBUILD b/community/perl-sort-key/APKBUILD index dac15a64ab..b4c42dc82a 100644 --- a/community/perl-sort-key/APKBUILD +++ b/community/perl-sort-key/APKBUILD @@ -4,13 +4,13 @@ pkgname=perl-sort-key _pkgreal=Sort-Key pkgver=1.33 -pkgrel=1 +pkgrel=2 pkgdesc="the fastest way to sort anything in Perl" url="http://search.cpan.org/dist/Sort-Key/" arch="all" license="GPL PerlArtistic" cpandepends="" -cpanmakedepends=" " +cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" @@ -18,7 +18,7 @@ source="http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/$_pkgreal-$pkgver.tar. builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') @@ -28,15 +28,18 @@ prepare() { build() { cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - make && make test + make +} + +check() { + cd "$builddir" + make test } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="a37ab0da0cfdc26e57b4c79e39f6d98f Sort-Key-1.33.tar.gz" -sha256sums="ed6a4ccfab094c9cd164f564024e98bd21d94f4312ccac4d6246d22b34081acf Sort-Key-1.33.tar.gz" sha512sums="cf87cd2f5c0eea662dbdaf7faed5646ebd63925c71a093a79a9980d6de290b1128443954675893f263961e68d1db0e9e4ca1412a2734ce8dcdd271bcf4f1be17 Sort-Key-1.33.tar.gz" diff --git a/community/perl-spiffy/APKBUILD b/community/perl-spiffy/APKBUILD index 7484c98bb5..73a4403d11 100644 --- a/community/perl-spiffy/APKBUILD +++ b/community/perl-spiffy/APKBUILD @@ -4,7 +4,7 @@ pkgname=perl-spiffy _pkgreal=Spiffy pkgver=0.46 -pkgrel=0 +pkgrel=1 pkgdesc="Spiffy Perl Interface Framework For You" url="http://search.cpan.org/dist/Spiffy/" arch="noarch" @@ -18,7 +18,7 @@ source="http://search.cpan.org/CPAN/authors/id/I/IN/INGY/$_pkgreal-$pkgver.tar.g builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') @@ -28,7 +28,12 @@ prepare() { build() { cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') - make && make test + make +} + +check() { + cd "$builddir" + make test } package() { @@ -37,6 +42,4 @@ package() { find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="2ec7007c111a6bc2775bb7c57673a24b Spiffy-0.46.tar.gz" -sha256sums="8f58620a8420255c49b6c43c5ff5802bd25e4f09240c51e5bf2b022833d41da3 Spiffy-0.46.tar.gz" sha512sums="a1fb02bae4a6edab564c05af2f1b2caaf996d433ec054e07e75a53e88216c46cf14db87a2abdfc9c74f73791267f69129a86bfdaa77492f941104143ca7b8154 Spiffy-0.46.tar.gz" diff --git a/community/perl-spreadsheet-parseexcel/APKBUILD b/community/perl-spreadsheet-parseexcel/APKBUILD index 7f7cf6971d..a0044ad2f8 100644 --- a/community/perl-spreadsheet-parseexcel/APKBUILD +++ b/community/perl-spreadsheet-parseexcel/APKBUILD @@ -4,7 +4,7 @@ pkgname=perl-spreadsheet-parseexcel _pkgreal=Spreadsheet-ParseExcel pkgver=0.65 -pkgrel=0 +pkgrel=1 pkgdesc="Read information from an Excel file." url="http://search.cpan.org/dist/Spreadsheet-ParseExcel/" arch="noarch" @@ -16,26 +16,31 @@ makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + default_prepare + + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test + 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 } -md5sums="4b8857e3a391d86501c1b742b459ac9e Spreadsheet-ParseExcel-0.65.tar.gz" -sha256sums="6ec4cb429bd58d81640fe12116f435c46f51ff1040c68f09cc8b7681c1675bec Spreadsheet-ParseExcel-0.65.tar.gz" sha512sums="a57be764a9781d1e219d1aab940a9b834d1ddf90ebb4966eaeba86afea3de03617fbdeda67d9bc2bedd8651cc3feafd46905021150bbcd68cbc7453865877637 Spreadsheet-ParseExcel-0.65.tar.gz" diff --git a/community/perl-strictures/APKBUILD b/community/perl-strictures/APKBUILD index 5615348523..d58c906c89 100644 --- a/community/perl-strictures/APKBUILD +++ b/community/perl-strictures/APKBUILD @@ -4,7 +4,7 @@ pkgname=perl-strictures _pkgreal=strictures pkgver=2.000002 -pkgrel=0 +pkgrel=1 pkgdesc="unknown" url="http://search.cpan.org/dist/strictures/" arch="noarch" @@ -16,26 +16,31 @@ makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/strictures-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + default_prepare + + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test + 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 } -md5sums="fb1fada8260992bc85e126c21ffcc6d5 strictures-2.000002.tar.gz" -sha256sums="130355dcb3afd8c3c8213c24b924e71deb7e1e1197da8f90c5ae191766aa4100 strictures-2.000002.tar.gz" sha512sums="30e7d02b4a240ef201e80f49066205f8563efade402bded4d0a818b0bde7c3bc5c4378e65b4e537ebd22d97ccab44e245764862eba5919770340d3811de346ef strictures-2.000002.tar.gz" diff --git a/community/perl-sub-exporter/APKBUILD b/community/perl-sub-exporter/APKBUILD index ac96bddab1..771fd94cba 100644 --- a/community/perl-sub-exporter/APKBUILD +++ b/community/perl-sub-exporter/APKBUILD @@ -4,38 +4,41 @@ pkgname=perl-sub-exporter _pkgreal=Sub-Exporter pkgver=0.987 -pkgrel=0 +pkgrel=1 pkgdesc="a sophisticated exporter for custom-built routines" url="http://search.cpan.org/dist/Sub-Exporter/" arch="noarch" license="GPL PerlArtistic" cpandepends="perl-data-optlist perl-sub-install perl-params-util perl-test-pod" -cpanmakedepends=" " +cpanmakedepends="" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test + 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 } -md5sums="5332d269a7ba387773fcd140b72a0ed2 Sub-Exporter-0.987.tar.gz" -sha256sums="543cb2e803ab913d44272c7da6a70bb62c19e467f3b12aaac4c9523259b083d6 Sub-Exporter-0.987.tar.gz" sha512sums="6b682d27a0df8ce971ea48aeca5162e1c70929c51cf27119b30361477876b0b86ecb15ab13a6c3cbe5bb85be9e600589fb9e3c9c4e94bad3fc05b675d293adad Sub-Exporter-0.987.tar.gz" diff --git a/community/perl-sub-install/APKBUILD b/community/perl-sub-install/APKBUILD index 47171b686c..25e4daed09 100644 --- a/community/perl-sub-install/APKBUILD +++ b/community/perl-sub-install/APKBUILD @@ -4,7 +4,7 @@ pkgname=perl-sub-install _pkgreal=Sub-Install pkgver=0.928 -pkgrel=0 +pkgrel=1 pkgdesc="install subroutines into packages easily" url="http://search.cpan.org/dist/Sub-Install/" arch="noarch" @@ -16,26 +16,29 @@ makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" -_builddir="$srcdir/$_pkgreal-$pkgver" +builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make && make test + 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 } -md5sums="e1ce4f9cb6b2f6b8778b036c31afa5ab Sub-Install-0.928.tar.gz" -sha256sums="61e567a7679588887b7b86d427bc476ea6d77fffe7e0d17d640f89007d98ef0f Sub-Install-0.928.tar.gz" sha512sums="3f25df9f5992075968830d4235e9f6520c526331b9180391e41483241d43253a61ad8dc381d77aaeb6c6fb841cfc5c097598e62abb46208894275c393a133ade Sub-Install-0.928.tar.gz" diff --git a/community/perl-sys-syslog/APKBUILD b/community/perl-sys-syslog/APKBUILD index 6cea827884..4f998a8d97 100644 --- a/community/perl-sys-syslog/APKBUILD +++ b/community/perl-sys-syslog/APKBUILD @@ -24,12 +24,17 @@ prepare() { build() { cd "$builddir" - make && make test || return 1 + make +} + +check() { + cd "$builddir" + make test } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } @@ -38,6 +43,4 @@ doc() { replaces="perl-doc" } -md5sums="59dfb279f78a5ff587ba2ee8989b13e8 Sys-Syslog-0.35.tar.gz" -sha256sums="fe28e47b70b77aaae754385fe1470d174289e7b6908efa247d2e52486516fbb7 Sys-Syslog-0.35.tar.gz" sha512sums="94f35e3008e1f01af7c02f4672c0b85fb9d92bd51ecddbd064d08e6fc81a203aef7655386174e6b38814b1500a21553324985fe169e3dc8d8b9829590bceffc9 Sys-Syslog-0.35.tar.gz" |