summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaglis Jonaitis2021-05-15 13:30:53 +0300
committerNaglis Jonaitis2021-05-15 13:30:53 +0300
commit7fe23e1435127d3abb3730f5d8ca248f506ac4ac (patch)
treef6625875713ce55bcce0a58d3cd2afe75a00c592
parent36770323fdb2610219e67a5cf73fe177274f924f (diff)
downloadpackages-7fe23e1435127d3abb3730f5d8ca248f506ac4ac.tar.gz
packages-7fe23e1435127d3abb3730f5d8ca248f506ac4ac.tar.bz2
packages-7fe23e1435127d3abb3730f5d8ca248f506ac4ac.zip
Fix "no icon" issue
By default, the Thorium icon is put at `/usr/share/icons/hicolor/0x0/apps/thorium.png` in the Linux *.deb, however, application launchers do not pickup the `0x0` icon. See also: https://github.com/edrlab/thorium-reader/issues/1241
-rw-r--r--PKGBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 31e7808..8838524 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,4 +27,8 @@ package() {
27 27
28 # Install license 28 # Install license
29 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" 29 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
30
31 # Fix "no icon" issue (see also https://github.com/edrlab/thorium-reader/issues/1241)
32 mv ${pkgdir}/usr/share/icons/hicolor/0x0 ${pkgdir}/usr/share/icons/hicolor/1024x1024
33 install -Dm 644 "${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/thorium.png" "${pkgdir}/usr/share/pixmaps/thorium.png"
30} 34}