summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f58808ef88d..16ab97af1e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -127,6 +127,8 @@ build() {
EXTENSION_DIR=${_optdir}/usr/lib/php/modules
export EXTENSION_DIR
+ [[ -d ${srcdir}/build ]] && rm -r ${srcdir}/build
+
mkdir ${srcdir}/build
cd ${srcdir}/build
ln -s ../${_pkgbase}-${pkgver}/configure