summaryrefslogtreecommitdiff
path: root/core/perl
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-22 00:02:33 +0000
committerroot <root@rshg054.dnsready.net>2012-05-22 00:02:33 +0000
commit62e13d20ed92262c7396eff00d048ce815693e74 (patch)
tree2a02f5885ef928a5c3776a9f1a5c0c37d0d531a4 /core/perl
parentd9687afd09db8b04c5ae90edf22df599532256c6 (diff)
Tue May 22 00:02:33 UTC 2012
Diffstat (limited to 'core/perl')
-rw-r--r--core/perl/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/perl/PKGBUILD b/core/perl/PKGBUILD
index 9fc4a5700..94d9c623f 100644
--- a/core/perl/PKGBUILD
+++ b/core/perl/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 146927 2012-01-19 10:01:03Z bluewind $
+# $Id: PKGBUILD 159280 2012-05-20 20:41:32Z bluewind $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Contributor: kevin <kevin.archlinux.org>
# Contributor: judd <jvinet.zeroflux.org>
@@ -28,6 +28,11 @@ md5sums=('04a4c5d3c1f9f19d77daff8e8cd19a26'
'490852b3d77c3b3866d0d75f5fbf5c5d'
'c25d86206d649046538c3daab7874564')
+# workaround to let the integrity check find the correct provides array
+if [[ ${0##*/} = "parse_pkgbuilds.sh" ]]; then
+ true && provides=($(bsdtar -q -O -xf "/srv/ftp/pool/packages/$pkgname-$pkgver-$pkgrel-$CARCH.pkg.tar.xz" .PKGINFO | sed -rn 's#^provides = (.*)#\1#p'))
+fi
+
build() {
cd ${srcdir}/${pkgname}-${pkgver}