summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2019-10-20 12:34:56 +0200
committerhaawda2019-10-20 12:34:56 +0200
commitaad8d2410156352a822b49ab5cb88434869b700b (patch)
tree58e68b185a649feac8ef2f08282288beaa81218e
parent4a258417a472bffc495868dd2d12b52a208c55d9 (diff)
downloadaur-aad8d2410156352a822b49ab5cb88434869b700b.tar.gz
change the way the build directory is created
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 95da312a634a..bb2a3355523d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = elektra
pkgdesc = A universal hierarchical configuration store
pkgver = 0.9.0
- pkgrel = 1
+ pkgrel = 2
url = https://www.libelektra.org
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 517a9233c497..c55676c716e5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=elektra
pkgver=0.9.0
-pkgrel=1
+pkgrel=2
pkgdesc="A universal hierarchical configuration store"
url="https://www.libelektra.org"
license=('custom:BSD')
@@ -19,8 +19,8 @@ sha256sums=('87c84805dccbcf8441fe94f6541bf1b2dfa84ccf613eb55ffe208b4bf24cbaeb')
build() {
cd lib$pkgname-$pkgver
- rm -rf build
- mkdir build && cd build
+ [[ -d build ]] || mkdir build
+ cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DPLUGINS:STRING="ALL" \
-DTOOLS:STRING="ALL" \