summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSebastian Gumprich2017-04-17 23:17:23 +0200
committerSebastian Gumprich2017-04-17 23:17:23 +0200
commit918554888db45df137c2acabed8c6ea0840b8346 (patch)
treeb3ffe5c7782eb268b373b1deeb19d44bb7379077 /PKGBUILD
downloadaur-918554888db45df137c2acabed8c6ea0840b8346.tar.gz
initial
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bf60bf1de66
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Sebastian Gumprich <sebastian.gumprich@38.de>
+# Contributor: shimi <shimi.chen@gmail.com>
+# Contributor: Gustavo Castro <gustawho at gmail dot com>
+pkgname=indicator-kdeconnect
+pkgver=0.7.1.r4.gc694300
+pkgrel=1
+_gitname=indicator-kdeconnect
+pkgdesc="Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity)"
+arch=('any')
+url="https://github.com/bajoja/indicator-kdeconnect"
+license=('GPL')
+depends=('libappindicator-gtk3' 'kdeconnect' 'vala')
+makedepends=('git' 'cmake')
+source=('git://github.com/bajoja/indicator-kdeconnect.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd $_gitname
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ cd indicator-kdeconnect
+ mkdir build
+ cd build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ make
+ make DESTDIR="${pkgdir}" install
+}