summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorw2016-05-11 12:23:13 +0200
committerw2016-05-11 12:23:13 +0200
commit0a385a202b9a3ede768a3f0b73de5eeb9a135947 (patch)
tree38eaa45a11c89d66c114bc1c85eadb93ef356609
parente3abc1ae6ec8f69e9f2acaa69b8ef0314551c4c0 (diff)
downloadaur-0a385a202b9a3ede768a3f0b73de5eeb9a135947.tar.gz
Changed srcdir to support directories with spaces
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD22
2 files changed, 12 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3c80e176c21..d69a56d0844 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 5.0.0
-# Wed May 11 07:38:21 UTC 2016
+# Wed May 11 10:21:50 UTC 2016
pkgbase = firefox-esr-privacy
pkgdesc = Standalone web browser from mozilla.org
pkgver = 45.1.1
diff --git a/PKGBUILD b/PKGBUILD
index 39e0c92c727..32041f8d8be 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -43,39 +43,39 @@ validpgpkeys=('2B90598A745E992F315E22C58AB132963A06537A')
prepare() {
cd firefox-${pkgver}esr
- cp ${srcdir}/mozconfig mozconfig
+ cp "$srcdir"/mozconfig mozconfig
# Disable sponsored tiles
- patch -Np1 -i ${srcdir}/firefox-${_basever}-disable-sponsored-tiles.patch
+ patch -Np1 -i "$srcdir"/firefox-${_basever}-disable-sponsored-tiles.patch
# Disable Loop (Firefox Hello) and Pocket integration
- patch -Np1 -i ${srcdir}/firefox-${_basever}-disable-loop-pocket.patch
+ patch -Np1 -i "$srcdir"/firefox-${_basever}-disable-loop-pocket.patch
# Remove loop and pocket source directories
rm -fr browser/extensions/loop/ browser/components/pocket/
# Disable geo IP lookup on first run
- patch -Np1 -i ${srcdir}/firefox-${_basever}-disable-location.services.mozilla.com.patch
+ patch -Np1 -i "$srcdir"/firefox-${_basever}-disable-location.services.mozilla.com.patch
# Set some sensible defaults
- patch -Np1 -i ${srcdir}/firefox-${_basever}-prefs.patch
+ patch -Np1 -i "$srcdir"/firefox-${_basever}-prefs.patch
# Disable telemetry options
- patch -Np1 -i ${srcdir}/firefox-${_basever}-disable-telemetry.patch
+ patch -Np1 -i "$srcdir"/firefox-${_basever}-disable-telemetry.patch
# Disable infobar "Firefox automatically sends some data to Mozilla..."
- patch -Np1 -i ${srcdir}/firefox-${_basever}-disable-data-sharing-infobar.patch
+ patch -Np1 -i "$srcdir"/firefox-${_basever}-disable-data-sharing-infobar.patch
# Disable reader view
- patch -Np1 -i ${srcdir}/firefox-${_basever}-disable-reader.patch
+ patch -Np1 -i "$srcdir"/firefox-${_basever}-disable-reader.patch
# Fix build with Fontconfig 2.6
sed -i '/^ftcache.h/a ftfntfmt.h' config/system-headers
# Fix tab loading icon not working with libpng 1.6
- cp ${srcdir}/firefox-fixed-loading-icon.png browser/themes/linux/tabbrowser/loading.png
+ cp "$srcdir"/firefox-fixed-loading-icon.png browser/themes/linux/tabbrowser/loading.png
# Install in /usr/lib/firefox without version number
- patch -Np1 -i ${srcdir}/firefox-install-dir.patch
+ patch -Np1 -i "$srcdir"/firefox-install-dir.patch
# Don't install files from the browser/features directory
# This directory only contains the loop program, which is not built
@@ -95,7 +95,7 @@ package() {
cd firefox-${pkgver}esr
make -f client.mk DESTDIR="$pkgdir" INSTALL_SDK= install
- install -Dm644 ${srcdir}/firefox.desktop "$pkgdir/usr/share/applications/firefox.desktop"
+ install -Dm644 "$srcdir"/firefox.desktop "$pkgdir/usr/share/applications/firefox.desktop"
# Use system-provided dictionaries
rm -rf "$pkgdir"/usr/lib/firefox/{dictionaries,hyphenation}