perl-perl4-corelibs 0.005-1

This commit is contained in:
xhaa123 2024-04-30 19:03:15 +08:00
commit 9bda99d6fe

38
PKGBUILD Normal file
View File

@ -0,0 +1,38 @@
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=perl-perl4-corelibs
pkgver=0.005
pkgrel=1
pkgdesc="Libraries historically supplied with Perl 4"
arch=('x86_64')
url="https://metacpan.org/release/Perl4-CoreLibs"
license=('PerlArtistic' 'GPL')
depends=('perl' 'inetutils')
makedepends=('perl-module-build')
options=('!emptydirs')
source=(https://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Perl4-CoreLibs-${pkgver}.tar.gz)
sha256sums=(0250aafd307e5d25670946a662bdd0a2a8cc6ed9d949a848753f0b26910923a8)
prepare() {
cd Perl4-CoreLibs-${pkgver}
sed -i "s#< 70#< 90#" t/timelocal.t
}
build() {
cd Perl4-CoreLibs-${pkgver}
perl Build.PL
./Build
}
package() {
cd Perl4-CoreLibs-${pkgver}
./Build install installdirs=vendor destdir=${pkgdir}
}