summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD29
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..60dfb10ba9d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = indicator-kdeconnect
+ pkgdesc = Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity)
+ pkgver = 0.7.1.r4.gc694300
+ pkgrel = 1
+ url = https://github.com/bajoja/indicator-kdeconnect
+ arch = any
+ license = GPL
+ makedepends = git
+ makedepends = cmake
+ depends = libappindicator-gtk3
+ depends = kdeconnect
+ depends = vala
+ source = git://github.com/bajoja/indicator-kdeconnect.git
+ md5sums = SKIP
+
+pkgname = indicator-kdeconnect
+
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
+}