summaryrefslogtreecommitdiff
path: root/mozilla-testing
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-01-02 10:04:06 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-01-02 10:04:06 -0500
commit4450da7ef295d177b169061dbbaf2ad51e7cf2a0 (patch)
treec91ba0706d39747102d01fad79d61e03f8fec666 /mozilla-testing
parent3db7d50949b80070c52c1ff2ebbc3df9d7fbe273 (diff)
fix mozilla-testing/iceweasel-libre: PGO moves things around weird.
Diffstat (limited to 'mozilla-testing')
-rw-r--r--mozilla-testing/iceweasel-libre/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/mozilla-testing/iceweasel-libre/PKGBUILD b/mozilla-testing/iceweasel-libre/PKGBUILD
index 50970fae8..bff0cef79 100644
--- a/mozilla-testing/iceweasel-libre/PKGBUILD
+++ b/mozilla-testing/iceweasel-libre/PKGBUILD
@@ -118,12 +118,15 @@ package() {
install -m644 "$srcdir"/vendor.js "$pkgdir/usr/lib/$_pkgname/defaults/pref"
- brandingdir="debian/branding"
- for i in 16x16 32x32 48x48 64x64; do
+ # For some crazy reason, pgo moves the branding (and many other non-object
+ # files) to odd locations in the ff-pgo directory.
+ _brandingdir=debian/branding
+ brandingdir=ff-pgo/dist/branding
+ for i in 16x16 32x32 48x48; do
install -Dm644 "$brandingdir/default${i/x*/}.png" "$pkgdir/usr/share/icons/hicolor/$i/apps/$_pkgname.png"
done
install -Dm644 "$brandingdir/mozicon128.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/$_pkgname.png"
- install -Dm644 "$brandingdir/iceweasel_icon.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/iceweasel.svg"
+ install -Dm644 "$_brandingdir/iceweasel_icon.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/iceweasel.svg"
install -d "$pkgdir/usr/share/applications"
install -m644 debian/iceweasel.desktop "$pkgdir/usr/share/applications"