summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ccf239690f11db29a1bc7b30205a600d45113bdd (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: Johannes Löthberg <johannes@kyriasis.com>

pkgname=yawa-git
pkgver=0.9.0.r18.g31af564
pkgrel=3

pkgdesc='A tool which allows you to compose wallpapers for X.'
url='http://git.kyriasis.com/kyrias/yawa/about/'
arch=('i686' 'x86_64')
license=('GPL2')

depends=('imlib2' 'libx11' 'libbsd')
makedepends=('clang' 'cmake' 'git' 'python-sphinx')

source=('git+http://git.kyriasis.com/kyrias/yawa')

sha1sums=('SKIP')

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

build() {
	install -d build
	cd build
	cmake -g 'Unix Makefiles' ../yawa -DCMAKE_INSTALL_PREFIX=/usr
	make
}

package() {
	cd build
	make DESTDIR="$pkgdir" install
}