From 5652e60d207b99618a27f1fd94ce3801fcb00d52 Mon Sep 17 00:00:00 2001 From: Shimi Chen Date: Tue, 11 Aug 2015 22:43:47 +0300 Subject: [PATCH] Initial import --- .SRCINFO | 19 +++++++++++++++++++ PKGBUILD | 28 ++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..1bcc434 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by makepkg 4.2.0 +# Sun Feb 22 03:01:49 UTC 2015 +pkgbase = indicator-kdeconnect-git + pkgdesc = Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity) + pkgver = 51.2f8ae36 + pkgrel = 3 + url = https://github.com/vikoadi/indicator-kdeconnect + arch = any + license = GPL + makedepends = git + makedepends = cmake + depends = libappindicator-gtk3 + depends = kdeconnect + depends = vala + source = git://github.com/vikoadi/indicator-kdeconnect.git + md5sums = SKIP + +pkgname = indicator-kdeconnect-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..65d4b74 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: shimi +# Contributor: Gustavo Castro +pkgname=indicator-kdeconnect-git +pkgver=51.2f8ae36 +pkgrel=3 +_gitname=indicator-kdeconnect +pkgdesc="Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity)" +arch=('any') +url="https://github.com/vikoadi/indicator-kdeconnect" +license=('GPL') +depends=('libappindicator-gtk3' 'kdeconnect' 'vala') +makedepends=('git' 'cmake') +source=('git://github.com/vikoadi/indicator-kdeconnect.git') +md5sums=('SKIP') + +pkgver() { + cd $_gitname + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +package() { + cd indicator-kdeconnect + mkdir build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr + make + make DESTDIR="${pkgdir}" install +}