Created
February 7, 2013 17:01
-
-
Save anonymous/4732403 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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