aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-11-15 23:08:55 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:44 +0200
commit1fa85505f924790a8ad2fdd7cc6f44d45eafa540 (patch)
tree24f0688d2f1ab637bcb9d5749d4056c47e0483f5
parent6a22c25e292f88c3bdd6cf18783ea2d7a04d9efa (diff)
downloadpkgbuilds-1fa85505f924790a8ad2fdd7cc6f44d45eafa540.tar.xz
yawa-git: Use a separate build directory
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e2259a5..0d440c6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@
# Mon Jun 1 14:54:46 UTC 2015
pkgbase = yawa-git
pkgdesc = A tool which allows you to compose wallpapers for X.
- pkgver = 0.9.0.r2.g7caa0c2
+ pkgver = 0.9.0.r12.ga85b594
pkgrel = 1
url = http://git.kyriasis.com/kyrias/yawa/about/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 5cc72be..2319f2c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=yawa-git
-pkgver=0.9.0.r2.g7caa0c2
+pkgver=0.9.0.r12.ga85b594
pkgrel=1
pkgdesc='A tool which allows you to compose wallpapers for X.'
@@ -20,12 +20,14 @@ pkgver() {
}
build() {
- cd yawa
- cmake -g 'Unix Makefiles' . -DCMAKE_INSTALL_PREFIX=/usr
+ mkdir build
+ cd build
+
+ cmake -g 'Unix Makefiles' "$srcdir"/yawa -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
- cd yawa
+ cd build
make DESTDIR="$pkgdir" install
}