diff options
-rw-r--r-- | packages/arch/PKGBUILD | 6 | ||||
-rw-r--r-- | qspaceapi.pro | 5 | ||||
-rw-r--r-- | share/xdg/qspacestatus.desktop | 14 |
3 files changed, 22 insertions, 3 deletions
diff --git a/packages/arch/PKGBUILD b/packages/arch/PKGBUILD index 552928c..c4d591a 100644 --- a/packages/arch/PKGBUILD +++ b/packages/arch/PKGBUILD | |||
@@ -23,7 +23,7 @@ makedepends=(git) | |||
23 | # "$pkgname-$pkgver.patch") | 23 | # "$pkgname-$pkgver.patch") |
24 | source=("http://git.entwicklerseite.de/qspacestatus/snapshot/qspacestatus-master.tar.gz") | 24 | source=("http://git.entwicklerseite.de/qspacestatus/snapshot/qspacestatus-master.tar.gz") |
25 | noextract=() | 25 | noextract=() |
26 | md5sums=(aef78b78fe34adc704391d89f893b6ff) | 26 | md5sums=(6ecd887bb6c1780254a0be543a37a55b) |
27 | validpgpkeys=() | 27 | validpgpkeys=() |
28 | 28 | ||
29 | # prepare() { | 29 | # prepare() { |
@@ -48,5 +48,9 @@ build() { | |||
48 | package() { | 48 | package() { |
49 | # cd "$pkgname-$pkgver" | 49 | # cd "$pkgname-$pkgver" |
50 | cd qspacestatus-master/ | 50 | cd qspacestatus-master/ |
51 | mkdir -p $pkgdir/usr/local/bin | ||
52 | install -m 755 -p qspacestatus $pkgdir/usr/local/bin | ||
53 | mkdir -p $pkgdir/usr/local/share/applications | ||
54 | install -m 755 -p share/xdg/qspacestatus.desktop $pkgdir/usr/local/share/applications | ||
51 | make DESTDIR="$pkgdir/" install | 55 | make DESTDIR="$pkgdir/" install |
52 | } | 56 | } |
diff --git a/qspaceapi.pro b/qspaceapi.pro index 117f34e..2cc1ade 100644 --- a/qspaceapi.pro +++ b/qspaceapi.pro | |||
@@ -12,7 +12,7 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | |||
12 | TARGET = qspacestatus | 12 | TARGET = qspacestatus |
13 | TEMPLATE = app | 13 | TEMPLATE = app |
14 | 14 | ||
15 | target.path = /usr/local/bin/ | 15 | target.path = bin/ |
16 | INSTALLS += target | 16 | INSTALLS += target |
17 | 17 | ||
18 | SOURCES += main.cpp\ | 18 | SOURCES += main.cpp\ |
@@ -25,6 +25,7 @@ FORMS += mainwindow.ui | |||
25 | DISTFILES += \ | 25 | DISTFILES += \ |
26 | folder.png \ | 26 | folder.png \ |
27 | packages/arch/PKGBUILD \ | 27 | packages/arch/PKGBUILD \ |
28 | packages/arch/Makefile | 28 | packages/arch/Makefile \ |
29 | share/xdg/qspacestatus.desktop | ||
29 | 30 | ||
30 | RESOURCES += | 31 | RESOURCES += |
diff --git a/share/xdg/qspacestatus.desktop b/share/xdg/qspacestatus.desktop new file mode 100644 index 0000000..243a08a --- /dev/null +++ b/share/xdg/qspacestatus.desktop | |||
@@ -0,0 +1,14 @@ | |||
1 | #!/usr/bin/env xdg-open | ||
2 | |||
3 | [Desktop Entry] | ||
4 | Version=1.0 | ||
5 | Encoding=UTF-8 | ||
6 | Name=QSpaceStatus | ||
7 | Type=Application | ||
8 | Exec=qspacestatus | ||
9 | Terminal=false | ||
10 | Icon=None | ||
11 | Comment=show the SpaceAPI status in the notification area | ||
12 | Categories=Utility; | ||
13 | Hidden=false | ||
14 | X-GNOME-Autostart-enabled=true | ||