Date: Sunday, May 31, 2020 @ 01:16:18 Author: allan Revision: 387943 archrelease: copy trunk to extra-any
Added: perl-perl4-corelibs/repos/extra-any/PKGBUILD (from rev 387942, perl-perl4-corelibs/trunk/PKGBUILD) Deleted: perl-perl4-corelibs/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 38 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-05-31 01:16:01 UTC (rev 387942) +++ PKGBUILD 2020-05-31 01:16:18 UTC (rev 387943) @@ -1,30 +0,0 @@ -# Maintainer: - -pkgname=perl-perl4-corelibs -pkgver=0.004 -pkgrel=4 -pkgdesc="Libraries historically supplied with Perl 4" -arch=('any') -url="https://metacpan.org/release/Perl4-CoreLibs" -license=('PerlArtistic' 'GPL') -depends=('perl') -makedepends=('perl-module-build') -options=('!emptydirs') -source=("http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Perl4-CoreLibs-$pkgver.tar.gz") -sha512sums=('71083f1640e95559ee4bc5a7f1bbe6beacec048a073e211ab7f6ee4de26463f6ae3d87e99e00a41ea8f2f93a5e96367bafe907ef3367e400de35123c22eb7b88') - -build() { - cd Perl4-CoreLibs-$pkgver - perl Build.PL - ./Build -} - -check() { - cd Perl4-CoreLibs-$pkgver - ./Build test -} - -package() { - cd Perl4-CoreLibs-$pkgver - ./Build install installdirs=vendor destdir="$pkgdir" -} Copied: perl-perl4-corelibs/repos/extra-any/PKGBUILD (from rev 387942, perl-perl4-corelibs/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-31 01:16:18 UTC (rev 387943) @@ -0,0 +1,38 @@ +# Maintainer: + +pkgname=perl-perl4-corelibs +pkgver=0.004 +pkgrel=5 +pkgdesc="Libraries historically supplied with Perl 4" +arch=('any') +url="https://metacpan.org/release/Perl4-CoreLibs" +license=('PerlArtistic' 'GPL') +depends=('perl') +makedepends=('perl-module-build') +options=('!emptydirs') +source=("https://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Perl4-CoreLibs-$pkgver.tar.gz") +sha512sums=('71083f1640e95559ee4bc5a7f1bbe6beacec048a073e211ab7f6ee4de26463f6ae3d87e99e00a41ea8f2f93a5e96367bafe907ef3367e400de35123c22eb7b88') + +prepare() { + cd Perl4-CoreLibs-$pkgver + + # issue in testsuite - delay issue until 2040... + # https://rt.cpan.org/Public/Bug/Display.html?id=131341 + sed -i "s#< 70#< 90#" t/timelocal.t +} + +build() { + cd Perl4-CoreLibs-$pkgver + perl Build.PL + ./Build +} + +check() { + cd Perl4-CoreLibs-$pkgver + ./Build test +} + +package() { + cd Perl4-CoreLibs-$pkgver + ./Build install installdirs=vendor destdir="$pkgdir" +}