[arch-commits] Commit in perl/trunk (PKGBUILD)

Florian Pritz bluewind at archlinux.org
Thu May 10 17:51:29 UTC 2012


    Date: Thursday, May 10, 2012 @ 13:51:29
  Author: bluewind
Revision: 158808

add workaround to let integrity check find provides array

Modified:
  perl/trunk/PKGBUILD

----------+
 PKGBUILD |    5 +++++
 1 file changed, 5 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-05-10 16:33:56 UTC (rev 158807)
+++ PKGBUILD	2012-05-10 17:51:29 UTC (rev 158808)
@@ -28,6 +28,11 @@
          '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}
 




More information about the arch-commits mailing list