diff options
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..88d7744cf2bd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = coffee-git + pkgdesc = Keep up with current news and weather with Coffee + pkgver = 1.0.7.r7.gdb3ac9e + pkgrel = 1 + url = https://nick92.github.io/coffee/ + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = git + makedepends = meson + makedepends = vala + depends = geocode-glib + depends = glib + depends = libgee + depends = webkit2gtk + provides = coffee + conflicts = coffee + source = git+https://github.com/nick92/coffee.git + sha256sums = SKIP + +pkgname = coffee-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4e6d2d145a3d --- /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 +} |