From 1fa85505f924790a8ad2fdd7cc6f44d45eafa540 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 15 Nov 2014 23:08:55 +0100 Subject: yawa-git: Use a separate build directory --- PKGBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'PKGBUILD') 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 } -- cgit v1.2.3-70-g09d2