From c16880844717ab905670fbef95d4e3bd58bd36f2 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 20 Oct 2015 13:00:30 -0300 Subject: icecat-38.3.0_gnu1-3: add missing icons --- libre/icecat/PKGBUILD | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'libre/icecat/PKGBUILD') diff --git a/libre/icecat/PKGBUILD b/libre/icecat/PKGBUILD index 9e3cc91bb..e09de2525 100644 --- a/libre/icecat/PKGBUILD +++ b/libre/icecat/PKGBUILD @@ -15,7 +15,7 @@ _pgo=true pkgname=icecat _pkgver=38.3.0-gnu1 pkgver=${_pkgver//-/_} -pkgrel=2 +pkgrel=3 pkgdesc="GNU IceCat, the standalone web browser based on Mozilla Firefox." arch=(i686 x86_64) @@ -105,7 +105,7 @@ prepare() { # WebRTC build tries to execute "python" and expects Python 2 ln -s /usr/bin/python2 "$srcdir/path/python" - # configure script misdetects the preprocessor without an optimization level + # Configure script misdetects the preprocessor without an optimization level # https://bugs.archlinux.org/task/34644 sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' configure @@ -143,8 +143,9 @@ package() { brandingdir=browser/branding/official icondir="$pkgdir/usr/share/icons/hicolor" - for i in 16x16 32x32 48x48; do - install -Dm644 "$brandingdir/default${i/x*/}.png" "$icondir/$i/apps/$pkgname.png" + for i in 16 22 24 32 48 256; do + install -Dm644 "$brandingdir/default$i.png" \ + "$icondir/${i}x${i}/apps/$pkgname.png" done install -Dm644 "$brandingdir/content/icon64.png" \ "$icondir/64x64/apps/$pkgname.png" @@ -169,6 +170,6 @@ package() { ln -sf /usr/lib/mozilla/searchplugins "$pkgdir/usr/lib/$pkgname/browser/searchplugins" # Workaround for now: - #https://bugzilla.mozilla.org/show_bug.cgi?id=658850 + # https://bugzilla.mozilla.org/show_bug.cgi?id=658850 ln -sf $pkgname "$pkgdir/usr/lib/$pkgname/$pkgname-bin" } -- cgit v1.2.3