summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d7646b74ad9bddc2430ced83f9ae2b28a07053b6 (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
# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com>
# Contributor:

pkgname=coffee-git
pkgver=1.1.0.r13.gf765072
pkgrel=1
pkgdesc="Keep up with current news and weather with Coffee"
arch=('x86_64')
url='https://nick92.github.io/coffee/'
license=('GPL3')
depends=('geoclue' 'libgee' 'webkit2gtk')
makedepends=('git' 'meson' 'vala')
provides=('coffee')
conflicts=('coffee')
source=('coffee::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() {
    arch-meson coffee build
    ninja -C build
}

package() {
    DESTDIR="$pkgdir" ninja -C build install
}