From 62e13d20ed92262c7396eff00d048ce815693e74 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 22 May 2012 00:02:33 +0000 Subject: Tue May 22 00:02:33 UTC 2012 --- core/perl/PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'core/perl/PKGBUILD') 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 # Contributor: kevin # Contributor: judd @@ -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} -- cgit v1.2.3-54-g00ecf