102.11.0-1
[arch-packages.git] / perl-perl4-corelibs / trunk / PKGBUILD
blobe748ff5e5d0387939eeae20d66805909384de74d
1 # Maintainer: 
3 pkgname=perl-perl4-corelibs
4 pkgver=0.004
5 pkgrel=8
6 pkgdesc="Libraries historically supplied with Perl 4"
7 arch=('any')
8 url="https://metacpan.org/release/Perl4-CoreLibs"
9 license=('PerlArtistic' 'GPL')
10 depends=('perl')
11 makedepends=('perl-module-build')
12 options=('!emptydirs')
13 source=("https://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Perl4-CoreLibs-$pkgver.tar.gz")
14 sha512sums=('71083f1640e95559ee4bc5a7f1bbe6beacec048a073e211ab7f6ee4de26463f6ae3d87e99e00a41ea8f2f93a5e96367bafe907ef3367e400de35123c22eb7b88')
16 prepare() {
17   cd Perl4-CoreLibs-$pkgver
19   # issue in testsuite - delay issue until 2040...
20   # https://rt.cpan.org/Public/Bug/Display.html?id=131341
21   sed -i "s#< 70#< 90#" t/timelocal.t
24 build() {
25   cd Perl4-CoreLibs-$pkgver
26   perl Build.PL
27   ./Build
30 check() {
31   cd Perl4-CoreLibs-$pkgver
32   ./Build test
35 package() {
36   cd Perl4-CoreLibs-$pkgver
37   ./Build install installdirs=vendor destdir="$pkgdir"