summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Mattern2015-08-06 22:29:48 +0200
committerPeter Mattern2015-08-06 22:29:48 +0200
commit7eee9c25b29677454375ddbee0f79790868522f1 (patch)
tree1868eb8457bbd852cc5c108231f4ef03eb2c156b
parentc1f0b64ee36a32db23363615f2a06a8edc0aefc1 (diff)
downloadaur-7eee9c25b29677454375ddbee0f79790868522f1.tar.gz
Add desktop entry file
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD12
-rw-r--r--qps.desktop11
3 files changed, 23 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9936cb9a9c1..48f638e4ce6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = qps-git
pkgdesc = Qt process manager
pkgver = r14.3ad194f
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/QtDesktop/qps
arch = i686
arch = x86_64
@@ -10,10 +10,13 @@ pkgbase = qps-git
makedepends = cmake
depends = qt5-x11extras
depends = libxkbcommon-x11
+ depends = hicolor-icon-theme
provides = qps
conflicts = qps
source = git+https://github.com/QtDesktop/qps.git
+ source = qps.desktop
sha256sums = SKIP
+ sha256sums = 52396289949c2e57fb88773068c90aeb9bc6628e1f72f851d19a9dfbf3f85581
pkgname = qps-git
diff --git a/PKGBUILD b/PKGBUILD
index c4993b3e6b1..2c460f8eacd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,17 +3,19 @@
_pkgname=qps
pkgname=$_pkgname-git
pkgver=r14.3ad194f
-pkgrel=1
+pkgrel=2
pkgdesc="Qt process manager"
arch=("i686" "x86_64")
url="https://github.com/QtDesktop/qps"
license=("unknown")
-depends=("qt5-x11extras" "libxkbcommon-x11")
+depends=("qt5-x11extras" "libxkbcommon-x11" "hicolor-icon-theme")
makedepends=("git" "cmake")
provides=("$_pkgname")
conflicts=("$_pkgname")
-source=("git+https://github.com/QtDesktop/qps.git")
-sha256sums=("SKIP")
+source=("git+https://github.com/QtDesktop/qps.git"
+ "qps.desktop")
+sha256sums=("SKIP"
+ "52396289949c2e57fb88773068c90aeb9bc6628e1f72f851d19a9dfbf3f85581")
pkgver() {
cd $_pkgname
@@ -29,4 +31,6 @@ build() {
package() {
cd build
make DESTDIR=$pkgdir install
+ install -D -m644 $startdir/qps.desktop $pkgdir/usr/share/applications/qps.desktop
+ install -D -m644 $srcdir/$_pkgname/icon/icon.xpm $pkgdir/usr/share/icons/hicolor/48x48/apps/qps.xpm
}
diff --git a/qps.desktop b/qps.desktop
new file mode 100644
index 00000000000..854c6e0fe04
--- /dev/null
+++ b/qps.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+Name=qps
+GenericName=Qt process manager
+Comment=display and manage running processes
+Icon=qps
+Categories=System;
+TryExec=qps
+Exec=qps
+Terminal=false
+StartupNotify=false