summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b35babc0a68f9c63ba4fb759e3b633d818d3c479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com>
# Contributor:

pkgname=coffee-git
pkgver=1.0.7.r7.gdb3ac9e
pkgrel=2
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' '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
}