aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-11-05 08:09:03 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:44 +0200
commit8f8f03fdfd867b1caf980e05c90095957bfd99e1 (patch)
treefd751bbbfc06d7145966835deedc6caa307ff911 /PKGBUILD
downloadpkgbuilds-8f8f03fdfd867b1caf980e05c90095957bfd99e1.tar.xz
import yawa-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..c73ccb1
--- /dev/null
+++ b/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
+}