Skip to content

anonymous /gist:4732403
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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.