diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..647195f7737f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: American_Jesus <american.jesus.pt AT gmail DOT com> +# Contributor: Suhaimi Ghazali <serdotlinecho@gmail.com> + +_pkgname=mconnect +pkgname=$_pkgname-git +pkgver=149.ff810b3 +pkgrel=1 +pkgdesc="KDE Connect protocol implementation in Vala/C" +arch=('i686' 'x86_64') +depends=('libgee' 'openssl' 'json-glib' 'libnotify') +makedepends=('git' 'vala' 'glib2' 'gobject-introspection') +url="https://github.com/bboozzoo/mconnect" +license=('GPL2') +install=$pkgname.install +provides=($_pkgname) +conflicts=($_pkgname) +source=('mconnect::git+https://github.com/bboozzoo/mconnect.git#branch=master') +md5sums=('SKIP') + +pkgver() { + cd "$_pkgname" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +prepare() { + cd "$_pkgname" + autoreconf -if +} + +build() { + cd "$_pkgname" + ./configure --prefix=/usr + make +} + +package() { + cd "$_pkgname" + make prefix="$pkgdir/usr/" install +} |