summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4317f07fd2db4c25792d25b20c18f0457feffad9 (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=2.2.0.r8.g2bae117
pkgrel=2
pkgdesc="Keep up with current news and weather with Coffee"
arch=('x86_64')
url='https://nick92.github.io/coffee/'
license=('GPL3')
depends=('gtk3' 'geoclue' 'libgee')
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
}