summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cfb72b96456a7f47735fc694653f86b80a279891 (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
# Maintainer: Patrick Burroughs (Celti) <celticmadman@gmail.com>
# Contributor: Keerthan Jaic <jckeerthan at gmail dot com>

pkgname=diorite-git
pkgver=0.2.0.r20.g885d3e6
pkgrel=2

arch=('i686' 'x86_64')
license=('GPL')
pkgdesc='Utility and widget library based on Glib and GTK3.'
url='https://tiliado.eu/diorite/'

source=("$pkgname::git+https://github.com/tiliado/diorite")
sha256sums=('SKIP')

depends=('gtk3')
makedepends=('git' 'python' 'vala')
optdepends=('python: For generating tests')

pkgver() {
	cd "${pkgname}"
	git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd "${pkgname}"
	./waf configure --prefix=/usr
	./waf build
}

package() {
	cd "${pkgname}"
	./waf install --destdir="${pkgdir}"
}