From c5665c40f923a477b7ec0bcd7f57c92e98634ef6 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Thu, 14 Jun 2018 12:45:51 +0200 Subject: Add poi.desktop --- linux/makepkg/PKGBUILD | 4 ++++ linux/poi.desktop | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 linux/poi.desktop (limited to 'linux') 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 -- cgit v1.2.1