diff options
author | Stephen Brandt | 2017-02-04 12:31:34 +0000 |
---|---|---|
committer | Stephen Brandt | 2017-02-04 12:31:34 +0000 |
commit | 4e87765bdbec9ba041c6d68e0fcc9cf769a7940f (patch) | |
tree | 524e8801537b0bc07dbf6b610d18f6c218b22379 | |
download | aur-4e87765bdbec9ba041c6d68e0fcc9cf769a7940f.tar.gz |
Add .SRCINFO and PKGBUILD
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cdfacbcaf906 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = haguichi-indicator + pkgdesc = Provides an indicator for Haguichi + pkgver = 0.3.2 + pkgrel = 1 + url = http://www.haguichi.net + arch = x86_64 + arch = i686 + arch = arm + arch = armv7h + license = GPL3 + makedepends = cmake + makedepends = vala + depends = gtk3 + depends = libappindicator-gtk3 + depends = haguichi + source = http://launchpad.net/haguichi-indicator/0.3/0.3.2/+download/haguichi-indicator-0.3.2.tar.xz + sha256sums = e5e7d740a2b3807ba96ab08e5e563b82fbda37a82f551801091d0757712cf973 + +pkgname = haguichi-indicator + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..71ddd32457cf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Stephen Brandt <stephen@stephenbrandt.com> +# Contributor: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG + +pkgname=haguichi-indicator +pkgver=0.3.2 +pkgrel=1 +pkgdesc="Provides an indicator for Haguichi" +arch=('x86_64' 'i686' 'arm' 'armv7h') +url="http://www.haguichi.net" +license=('GPL3') +depends=('gtk3' 'libappindicator-gtk3' 'haguichi') +makedepends=('cmake' 'vala') +source=("http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.xz") +sha256sums=('e5e7d740a2b3807ba96ab08e5e563b82fbda37a82f551801091d0757712cf973') + +prepare() { + cd $pkgname-$pkgver + + rm -rf build + mkdir build +} + +build() { + cd $pkgname-$pkgver/build + + cmake .. -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + make -C $pkgname-$pkgver/build DESTDIR="$pkgdir" install +} |