summaryrefslogtreecommitdiff
path: root/mozilla-testing/icecat/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-01-04 02:57:20 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-01-04 02:57:20 -0500
commitc1ab6ac2493f90e3b45662881dfabcf69654f2b7 (patch)
treef1bf7deabf35107092041379db02c77ede7b6faf /mozilla-testing/icecat/PKGBUILD
parent184fede463585493fb89962ef6e764b296e47dec (diff)
build icecat and iceweasel in $srcdir/mozilla-build
Diffstat (limited to 'mozilla-testing/icecat/PKGBUILD')
-rw-r--r--mozilla-testing/icecat/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/mozilla-testing/icecat/PKGBUILD b/mozilla-testing/icecat/PKGBUILD
index 9f8854084..4379ee60c 100644
--- a/mozilla-testing/icecat/PKGBUILD
+++ b/mozilla-testing/icecat/PKGBUILD
@@ -77,7 +77,8 @@ if [ "$_pkgname" != "$pkgname" ]; then
fi
build() {
- cd "$srcdir/$_pkgname-$pkgver"
+ mv "$_pkgname-$pkgver" "$srcdir/mozilla-build"
+ cd "$srcdir/mozilla-build"
cp "$srcdir/mozconfig" .mozconfig # Load our build config, disable SafeSearch
patch -Np1 -i "$srcdir/firefox-install-dir.patch" # install to /usr/lib/$pkgname
@@ -104,7 +105,7 @@ build() {
}
package() {
- cd "$srcdir/$_pkgname-$pkgver"
+ cd "$srcdir/mozilla-build"
make -j1 -f client.mk DESTDIR="$pkgdir" install
install -m644 "$srcdir"/vendor.js "$pkgdir/usr/lib/$_pkgname/defaults/pref"