summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJesse Spangenberger2015-12-28 21:18:33 -0500
committerJesse Spangenberger2015-12-28 21:18:33 -0500
commit4fc8aba195a665629ec5490b4bd8305d8b81ca5c (patch)
treeac2cb56b33432a78a1b95bf579e44ad1e1de657e /PKGBUILD
parent8d5471ee8bf0dd1a925a2d6b69c89c51f8701c20 (diff)
downloadaur-4fc8aba195a665629ec5490b4bd8305d8b81ca5c.tar.gz
Fixed where program could be missing from menus in some DEs
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index efb38a88ffbf..dd8900ac5fa1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=notepadqq-git
_pkgname=notepadqq
pkgver=0.50.6.r0.g82ee840
-pkgrel=1
+pkgrel=2
pkgdesc="A Linux clone of Notepad++"
arch=('i686' 'x86_64')
url="http://notepadqq.altervista.org/wp/"
@@ -37,5 +37,8 @@ package() {
cd "${srcdir}/${_pkgname}/src/ui"
make DESTDIR="${pkgdir}/usr" install
+ # fixes missing in the desktop application menu (especially for LXqt)
+ sed -i 's/\(Cateories=.*\)/\1Accessories;/' "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
+
install -Dm644 "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${_pkgname}.svg" "${pkgdir}/usr/share/pixmaps/${_pkgname}.svg"
}