summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d77e0a4ef4ea37b16c5c825c634f7ac7af1d538b (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
34
35
# Maintainer: a821
# Contributor: Moritz Lipp <mlq@pwmt.org>

pkgname=girara-git
pkgver=0.4.4.r1.g23b4ed7
pkgrel=1
pkgdesc="User interface library focused on simplicity and minimalism"
arch=('x86_64')
url="https://pwmt.org/projects/girara"
license=('Zlib')
depends=('gtk3' 'glib2' 'json-c' 'pango' 'glibc')
makedepends=('git' 'meson' 'ninja' 'doxygen' 'check')
conflicts=('girara')
provides=('girara')
source=("${pkgname}::git+https://github.com/pwmt/girara.git#branch=develop")
md5sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --tags --long | sed 's/-/.r/;s/-/./g'
}

build() {
  cd "$pkgname"
  arch-meson build -Dtests=disabled
  ninja -C build
}

package() {
  cd "$pkgname"
  DESTDIR="$pkgdir/" ninja -C build install
  install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}

# vim:set ts=2 sw=2 et: