summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua5.3/PKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua5.3/PKGBUILD b/lua5.3/PKGBUILD
index 738de63..6970df7 100644
--- a/lua5.3/PKGBUILD
+++ b/lua5.3/PKGBUILD
@@ -31,6 +31,7 @@ sha512sums=('508e36b905e756550182e16b9acad0c74e8b82e172f09ff4043246698d3372bd73e
build() {
declare -r dstdir="lua-${pkgver/_/-}"
+ rm -rf -- "${dstdir}"
mv "${dstdir%%-rc1}" "${dstdir}"
cd "${dstdir}"
patch -p1 -i "${srcdir}/liblua.so.patch"