anonymous / gist:4732403
Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:4732403
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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.