From 4450da7ef295d177b169061dbbaf2ad51e7cf2a0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 2 Jan 2012 10:04:06 -0500 Subject: fix mozilla-testing/iceweasel-libre: PGO moves things around weird. --- mozilla-testing/iceweasel-libre/PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'mozilla-testing') 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" -- cgit v1.2.3-2-g168b