From 332eeec08418820d4adb05e835647b9f4004cf02 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 11 Nov 2014 04:16:52 +0100 Subject: Move /resources to /res to match other directories --- res/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 res/PKGBUILD (limited to 'res/PKGBUILD') diff --git a/res/PKGBUILD b/res/PKGBUILD new file mode 100644 index 0000000..c73ccb1 --- /dev/null +++ b/res/PKGBUILD @@ -0,0 +1,31 @@ +pkgname=yawa-git +pkgver=0.0.1.r0.g1f4c8ac +pkgrel=1 + +pkgdesc='A tool which allows you to compose wallpapers for X.' +url='http://git.kyriasis.com/kyrias/yawa/about/' +arch=('i686' 'x86_64') +license=('GPL') + +depends=('imlib2' 'libx11') +makedepends=('git') + +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() { + cd yawa + cmake -g 'Unix Makefiles' . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd yawa + make DESTDIR="$pkgdir" install +} -- cgit v1.2.3-70-g09d2