summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJosip Ponjavic2017-09-29 22:22:27 +0200
committerJosip Ponjavic2017-09-29 22:22:27 +0200
commita31e2b11ddd8d379be2d9ed2412c64e5886998d3 (patch)
treed0d46b4c847ab95635418b264f8af6eebd232b5d /PKGBUILD
downloadaur-a31e2b11ddd8d379be2d9ed2412c64e5886998d3.tar.gz
initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4e6d2d145a3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor:
+
+pkgname=coffee-git
+pkgver=1.0.7.r7.gdb3ac9e
+pkgrel=1
+pkgdesc="Keep up with current news and weather with Coffee"
+arch=('i686' 'x86_64')
+url="https://nick92.github.io/coffee/"
+license=('GPL3')
+depends=('geocode-glib' 'glib' 'libgee' 'webkit2gtk')
+makedepends=('git' 'meson' 'vala')
+provides=('coffee')
+conflicts=('coffee')
+source=('git+https://github.com/nick92/coffee.git')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd coffee
+ git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build() {
+ cd coffee
+ rm -rf _build
+ meson _build --prefix=/usr
+ ninja -C _build
+}
+
+package() {
+ cd coffee
+ env DESTDIR="$pkgdir" ninja -C _build install
+}