makedeb
Web Browser - (English (American))
Click here to go back to the commit logs for firefox-en-us-bin.
Hash: cb5047e200e272420d995148d4c3b0be8d43c4ab
Message: Corrected png icons links
diff --git a/PKGBUILD b/PKGBUILD
index 05863e5..426ed81 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,6 +24,16 @@ package() {
install -Dm644 "$_pkgname.desktop" -t "$pkgdir/usr/share/applications"
cp -r ./firefox/* "$pkgdir/usr/lib/$pkgname"
ln -rs "$pkgdir/usr/lib/$pkgname/firefox" "$pkgdir/usr/bin/firefox"
+ mkdir -p "$pkgdir/usr/share/icons/hicolor/16x16/apps"
+ mkdir -p "$pkgdir/usr/share/icons/hicolor/32x32/apps"
+ mkdir -p "$pkgdir/usr/share/icons/hicolor/48x48/apps"
+ mkdir -p "$pkgdir/usr/share/icons/hicolor/64x64/apps"
+ mkdir -p "$pkgdir/usr/share/icons/hicolor/128x128/apps"
+ ln -rs "$pkgdir/usr/lib/$pkgname/browser/chrome/icons/default/default16.png" "$pkgdir/usr/share/icons/hicolor/16x16/apps/$_pkgname.png"
+ ln -rs "$pkgdir/usr/lib/$pkgname/browser/chrome/icons/default/default32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/$_pkgname.png"
+ ln -rs "$pkgdir/usr/lib/$pkgname/browser/chrome/icons/default/default48.png" "$pkgdir/usr/share/icons/hicolor/48x48/apps/$_pkgname.png"
+ ln -rs "$pkgdir/usr/lib/$pkgname/browser/chrome/icons/default/default64.png" "$pkgdir/usr/share/icons/hicolor/64x64/apps/$_pkgname.png"
+ ln -rs "$pkgdir/usr/lib/$pkgname/browser/chrome/icons/default/default128.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/$_pkgname.png"
install -D -m644 firefox-logo.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/$_pkgname.svg
}