public
anonymous / gist:4732403
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
diff --git a/lib32-xulrunner/PKGBUILD b/lib32-xulrunner/PKGBUILD
index b71079e..92eb531 100644
--- a/lib32-xulrunner/PKGBUILD
+++ b/lib32-xulrunner/PKGBUILD
@@ -17,7 +17,10 @@ groups=('lib32')
source=(http://ftp.mozilla.org/pub/mozilla.org/${_pkgbase}/releases/${pkgver}/runtimes/${_pkgbase}-${pkgver}.en-US.linux-i686.tar.bz2)
md5sums=('fed804c9b24cd5baff5ca45989b3a382')
-build() {
- mkdir -p ${pkgdir}/usr/lib32/
- mv ${_pkgbase} ${pkgdir}/usr/lib32/
+package() {
+ mkdir -p ${pkgdir}/usr/lib32/
+ cp -av $_pkgbase ${pkgdir}/usr/lib32/$_pkgbase-$pkgver
+ # add xulrunner library path to ld.so.conf
+ install -d $pkgdir/etc/ld.so.conf.d
+ echo "/usr/lib32/$_pkgbase-$pkgver" > ${pkgdir}/etc/ld.so.conf.d/lib32-xulrunner.conf
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.