diff options
author | Christoph Gysin | 2015-10-03 13:33:01 +0300 |
---|---|---|
committer | Christoph Gysin | 2015-10-03 13:33:03 +0300 |
commit | 110ec312075953ef5bd3d08628555815538a19ee (patch) | |
tree | a4c4b622ffb66cbf29f68ddaf8a73c84f6744461 | |
parent | 96be96cc3c5f08af733e1bd1be207fa527d6abe2 (diff) | |
download | aur-110ec312075953ef5bd3d08628555815538a19ee.tar.gz |
fix creating build dir
- create build dir in build() step
- don't fail if build dir exists
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,6 @@ pkgver() { prepare() { # The version inserted in to libgroove.pc includes no hash. It is something # like "4.2.1". This matches what libgroove itself reports. - mkdir "${srcdir}/${_pkgname}/build" cp "${srcdir}/${_pkgname}/example/libgroove.pc" "${srcdir}/" for pattern in \ 's|^libdir=$|libdir=/usr/lib|' \ @@ -37,6 +36,7 @@ prepare() { } build() { + mkdir -p "${srcdir}/${_pkgname}/build" cd "${srcdir}/${_pkgname}/build" cmake ../ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr make |