diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-05 08:04:52 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-05 08:42:40 +0100 |
commit | 491750b98acf9f4fa4aeaa438ee6d847b7d8bcec (patch) | |
tree | b329011cfb7435802745cef58279f290b21db055 /resources/PKGBUILD | |
parent | 1f4c8acc5175af3ef7a348547ffdb18e334ce515 (diff) | |
download | yawa-491750b98acf9f4fa4aeaa438ee6d847b7d8bcec.tar.xz |
Import PKGBUILD
Diffstat (limited to 'resources/PKGBUILD')
-rw-r--r-- | resources/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/resources/PKGBUILD b/resources/PKGBUILD new file mode 100644 index 0000000..c73ccb1 --- /dev/null +++ b/resources/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 +} |