diff options
Diffstat (limited to 'linux')
-rw-r--r-- | linux/makepkg/PKGBUILD | 4 | ||||
-rw-r--r-- | linux/poi.desktop | 17 |
2 files changed, 21 insertions, 0 deletions
diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD index d631cf7..9783fc8 100644 --- a/linux/makepkg/PKGBUILD +++ b/linux/makepkg/PKGBUILD @@ -86,6 +86,10 @@ package() { # Install ninja install + # icon and .desktop + install -Dm644 "${srcdir}/smolbote-hg/data/poi.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/poi.svg" + install -Dm644 "${srcdir}/smolbote-hg/linux/poi.desktop" "${pkgdir}/usr/share/applications/poi.desktop" + # man page _man_dir="$pkgdir/usr/local/man/man7" test -d $_man_dir || mkdir -p $_man_dir diff --git a/linux/poi.desktop b/linux/poi.desktop new file mode 100644 index 0000000..92fd7f3 --- /dev/null +++ b/linux/poi.desktop @@ -0,0 +1,17 @@ +[Desktop Entry] +Version=1.0 +Name=poi +GenericName=Web Browser +Comment=yet another no-frills browser +Exec=/usr/local/bin/poi %u +Icon=poi +Terminal=false +Type=Application +MimeType=text/html;text/xml;application/xhtml+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https; +Categories=Network;WebBrowser; +Keywords=web;browser;internet; +Actions=configure; + +[Desktop Action configure] +Name=Configure smolbote +Exec=/usr/local/bin/poi-config %u |