diff options
author | freaj <freaj@riseup.net> | 2015-03-10 15:44:37 +0100 |
---|---|---|
committer | freaj <freaj@riseup.net> | 2015-03-10 15:44:37 +0100 |
commit | 99ad6efdd3f48f30b89f2a983442e8962deb27c7 (patch) | |
tree | 8e896d08fb92f6c2842be7e7931354fe2f9345ae /pcr/connman-ui-git/PKGBUILD | |
parent | 7df58ebd43ecc4bf1b1ba1135679dbb416145ec0 (diff) |
connman-ui-git: add new package to [pcr]
Diffstat (limited to 'pcr/connman-ui-git/PKGBUILD')
-rw-r--r-- | pcr/connman-ui-git/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/connman-ui-git/PKGBUILD b/pcr/connman-ui-git/PKGBUILD new file mode 100644 index 000000000..a0d0b614c --- /dev/null +++ b/pcr/connman-ui-git/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: freaj <freaj@riseup.net> +# Maintainer (Arch) Bertrand Bonnefoy-Claudet <bertrandbc@gmail.com> + +pkgname=connman-ui-git +pkgver=r24.706afd5 +pkgrel=1 +pkgdesc="A full-featured GTK based trayicon UI for ConnMan (git version)" +arch=('i686' 'x86_64') +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') + +_gitroot="connman-ui" + +pkgver() { + cd "$srcdir/$_gitroot" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/$_gitroot" + ./autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$_gitroot" + make PREFIX=/usr DESTDIR="$pkgdir" install +} + |