makedeb


firefox-en-us-bin-wayland 120.0.1-1


Web Browser - wayland enabled - (English (American))

Click here to go back to the commit logs for firefox-en-us-bin-wayland.

Commit:


Hash: aececccae82f7078e559e60750c3f841acfc2344

Message: Corrected png icons links

Diff


diff --git a/PKGBUILD b/PKGBUILD
index d2d75a9..339104e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,6 +24,15 @@ 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
 }
-