mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
core/perl to 5.34.0-2
This commit is contained in:
parent
dd541f198f
commit
2b9e339c59
3 changed files with 18 additions and 5 deletions
|
@ -11,7 +11,7 @@
|
||||||
pkgname=perl
|
pkgname=perl
|
||||||
pkgver=5.34.0
|
pkgver=5.34.0
|
||||||
_baseversion="${pkgver%.*}"
|
_baseversion="${pkgver%.*}"
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A highly capable, feature-rich programming language"
|
pkgdesc="A highly capable, feature-rich programming language"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
license=('GPL' 'PerlArtistic')
|
license=('GPL' 'PerlArtistic')
|
||||||
|
@ -136,6 +136,8 @@ provides=('perl-archive-tar=2.38'
|
||||||
# Add your own provides here
|
# Add your own provides here
|
||||||
provides=("${provides[@]}")
|
provides=("${provides[@]}")
|
||||||
source=(https://www.cpan.org/src/5.0/perl-${pkgver}.tar.xz
|
source=(https://www.cpan.org/src/5.0/perl-${pkgver}.tar.xz
|
||||||
|
perl-18924.patch::https://github.com/Perl/perl5/pull/18924.patch
|
||||||
|
config.over
|
||||||
perlbin.sh
|
perlbin.sh
|
||||||
perlbin.csh
|
perlbin.csh
|
||||||
perlbin.fish
|
perlbin.fish
|
||||||
|
@ -143,6 +145,8 @@ source=(https://www.cpan.org/src/5.0/perl-${pkgver}.tar.xz
|
||||||
detect-old-perl-modules.hook)
|
detect-old-perl-modules.hook)
|
||||||
options=('makeflags' '!purge' 'emptydirs')
|
options=('makeflags' '!purge' 'emptydirs')
|
||||||
sha512sums=('691b4b31eacec357191fba777612b4e3eae59e946a22998a50766697c0d61db1d42a9b3bc1e41abf0d1ca1893e4a7c06d7bf3290480cf03d7f79befd7a8a3267'
|
sha512sums=('691b4b31eacec357191fba777612b4e3eae59e946a22998a50766697c0d61db1d42a9b3bc1e41abf0d1ca1893e4a7c06d7bf3290480cf03d7f79befd7a8a3267'
|
||||||
|
'58f99cfdc762270a41d85afe37239e9a9837142254e8c83bcd67386fabd71f60ede4a02b2b06e4afade7d5452e54f696b4640b76f48f8ec5599e8637b4fbedeb'
|
||||||
|
'1c924b5bf7413d097f62638a574d7decf36d98598b84cdb5fb31ff633b6f953371e14b004a2558a1a0b74b6b60b90b481af0f68555a49208fe6b226381fed79f'
|
||||||
'6ed5bc6dbdc47bc7f4c0fedbe18deaf35ab02a2e6700988beb545954bb1d0fe20ff1a4de39d6d9fc882ef1741f7bf6d85ba165d0cd8dc0d9939b789c894f48a1'
|
'6ed5bc6dbdc47bc7f4c0fedbe18deaf35ab02a2e6700988beb545954bb1d0fe20ff1a4de39d6d9fc882ef1741f7bf6d85ba165d0cd8dc0d9939b789c894f48a1'
|
||||||
'53eb0cddfd637014f3d3a101665db8dcafe5ac5bf3d319a259974334eb89c1c405097518ae96b6d18e520194633c7be57c9b2cd9ae6398443eb08f1a2008d112'
|
'53eb0cddfd637014f3d3a101665db8dcafe5ac5bf3d319a259974334eb89c1c405097518ae96b6d18e520194633c7be57c9b2cd9ae6398443eb08f1a2008d112'
|
||||||
'881e2efe05ba818cd7300f126800b56bb0685cb5c9c5fb7e67ef6aaf5abd17d2391a979d5d16d109c5111f4b35504ba83d19b0e6eda4431e8421fcbea19d2f1a'
|
'881e2efe05ba818cd7300f126800b56bb0685cb5c9c5fb7e67ef6aaf5abd17d2391a979d5d16d109c5111f4b35504ba83d19b0e6eda4431e8421fcbea19d2f1a'
|
||||||
|
@ -152,6 +156,8 @@ sha512sums=('691b4b31eacec357191fba777612b4e3eae59e946a22998a50766697c0d61db1d42
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
|
||||||
|
patch -p1 -i "$srcdir/perl-18924.patch"
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -165,6 +171,10 @@ build() {
|
||||||
arch_opts=""
|
arch_opts=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# reproducible builds overrides are only fully effective when loaded from file
|
||||||
|
cp ../config.over .
|
||||||
|
|
||||||
|
export TZ=UTC
|
||||||
[[ $CARCH == "arm" ]] && CONFIG="-Dd_u32align"
|
[[ $CARCH == "arm" ]] && CONFIG="-Dd_u32align"
|
||||||
./Configure -des -Dusethreads -Duseshrplib -Doptimize="${CFLAGS}" \
|
./Configure -des -Dusethreads -Duseshrplib -Doptimize="${CFLAGS}" \
|
||||||
-Dprefix=/usr -Dvendorprefix=/usr \
|
-Dprefix=/usr -Dvendorprefix=/usr \
|
||||||
|
@ -179,10 +189,7 @@ build() {
|
||||||
-Dvendorscript=/usr/bin/vendor_perl \
|
-Dvendorscript=/usr/bin/vendor_perl \
|
||||||
-Dinc_version_list=none \
|
-Dinc_version_list=none \
|
||||||
-Dman1ext=1perl -Dman3ext=3perl ${arch_opts} \
|
-Dman1ext=1perl -Dman3ext=3perl ${arch_opts} \
|
||||||
-Dlddlflags="-shared ${LDFLAGS}" -Dldflags="${LDFLAGS}" \
|
-Dlddlflags="-shared ${LDFLAGS}" -Dldflags="${LDFLAGS}" $CONFIG
|
||||||
-Dmyuname="archlinux" \
|
|
||||||
-Dmyhostname="archlinux" \
|
|
||||||
-Dcf_time="`date -u --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}"`" $CONFIG
|
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
5
core/perl/config.over
Normal file
5
core/perl/config.over
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
osvers="5.12.15-arch1-1"
|
||||||
|
myuname="archlinux"
|
||||||
|
myhostname="archlinux"
|
||||||
|
cf_time="`date -u --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}"`"
|
|
@ -6,6 +6,7 @@ echo "vim"
|
||||||
|
|
||||||
pkgfile -rd "^/usr/lib/perl5/" | sed 's#^.*/##' | sort -u
|
pkgfile -rd "^/usr/lib/perl5/" | sed 's#^.*/##' | sort -u
|
||||||
|
|
||||||
|
ssh build.archlinux.org sogrep -r
|
||||||
for repo in core extra community multilib; do
|
for repo in core extra community multilib; do
|
||||||
ssh build.archlinux.org sogrep "$repo" libperl.so
|
ssh build.archlinux.org sogrep "$repo" libperl.so
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue