summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBertrand Bonnefoy-Claudet2015-09-07 20:55:30 +0200
committerBertrand Bonnefoy-Claudet2015-09-07 20:58:55 +0200
commitfd9a0e852a9859fb9814ff49ac7edd4703419515 (patch)
treef6280d8fcfd2e80c4dddc6b967bf38adafef147a /PKGBUILD
parentea96b1da7b7545205b7dc3f99738645677a82189 (diff)
downloadaur-connman-ui-git.tar.gz
Add a XDG autostart desktop file
This should make the package integrate better with window managers. Thanks to Timothy for the desktop file.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 51186999526..afc5c05f27a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,8 @@
# Maintainer: Bertrand Bonnefoy-Claudet <bertrandbc@gmail.com>
+# Contributor: Timothy Lee <timothy.ty.lee@gmail.com>
pkgname=connman-ui-git
-pkgver=r33.1e1fd69
+pkgver=r38.fce0af9
pkgrel=1
pkgdesc="A full-featured GTK based trayicon UI for ConnMan (git version)"
arch=('i686' 'x86_64')
@@ -9,8 +10,10 @@ url="https://github.com/tbursztyka/connman-ui"
license=('GPL2')
depends=('connman' 'gtk3')
makedepends=('git' 'intltool')
-source=("git+https://github.com/tbursztyka/connman-ui.git")
-md5sums=('SKIP')
+source=('git+https://github.com/tbursztyka/connman-ui.git'
+ 'connman-ui-autostart.desktop')
+sha256sums=('SKIP'
+ 'b249cd6d59cb8814ff1d9445efe1bdbc99d164daebe0f693dda938874736a3f8')
_gitroot="connman-ui"
@@ -29,4 +32,8 @@ build() {
package() {
cd "$srcdir/$_gitroot"
make PREFIX=/usr DESTDIR="$pkgdir" install
+ install -D -m 644 "$startdir/connman-ui-autostart.desktop" \
+ "$pkgdir/etc/xdg/autostart/connman-ui-autostart.desktop"
+ install -D -m 644 "$pkgdir/usr/share/connman_ui_gtk/icons/gsm-3g-full.png" \
+ "$pkgdir/usr/share/icons/hicolor/64x64/apps/connman-ui.png"
}