Commit 3ce30221 authored by Roberto Oliveira's avatar Roberto Oliveira

community/perl-[n-s]*: modernize APKBUILD

Changes:
- Move tests to check()
- Remove return 1
- rename _builddir to builddir
- add missing default_prepare in prepare()
parent a4396765
......@@ -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"
......@@ -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"
......@@ -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"
......@@ -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"
......@@ -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
}
......
......@@ -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"
......@@ -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() {
......
......@@ -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"
......@@ -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"
......@@ -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
}
......
......@@ -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"
......@@ -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"
......@@ -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"
......@@ -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"
......@@ -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"
......@@ -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"