diff options
author | David Edmundson | 2015-07-24 12:02:35 +0200 |
---|---|---|
committer | David Edmundson | 2015-07-24 12:04:06 +0200 |
commit | 9d87329fcc11cff65ea8f021bd61bfa96aa557df (patch) | |
tree | 28d0c66036ca9a7d647780d297f7651f43463a8b | |
download | aur-9d87329fcc11cff65ea8f021bd61bfa96aa557df.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..36000129c84c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = libhangish-git + pkgdesc = Qt library for Google Talks + pkgver = r38.6dd0237 + pkgrel = 1 + url = https://github.com/tiagosh/libhangish/ + arch = i686 + arch = x86_64 + license = GPL + makedepends = cmake + makedepends = git + source = git+https://github.com/tiagosh/libhangish/ + md5sums = SKIP + +pkgname = libhangish-git + depends = + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c9d3cc825ca6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: David Edmundson + +pkgbase=libhangish-git +pkgname=('libhangish-git') +pkgver=r38.6dd0237 +pkgrel=1 +pkgdesc="Qt library for Google Talks" +arch=('i686' 'x86_64') +url="https://github.com/tiagosh/libhangish/" +license=('GPL') +makedepends=('cmake' 'git') +source=("git+https://github.com/tiagosh/libhangish/") +md5sums=('SKIP') + +pkgver() { + cd libhangish + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../libhangish \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release +} + +package_libhangish-git() { + depends=() + cd build + make DESTDIR="$pkgdir" install +} + |