summaryrefslogtreecommitdiff
path: root/lua5.3/PKGBUILD
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2014-12-16 20:11:29 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2014-12-16 20:11:29 +0100
commite5fa8d4f16b7abd7c6d293f0ac739376114aaab4 (patch)
tree977c393a627223736dc97efea948c2e0713421fc /lua5.3/PKGBUILD
parentb77b416358b2d8496ba81e2d299afc9c48183d0e (diff)
downloadarch-packages-e5fa8d4f16b7abd7c6d293f0ac739376114aaab4.tar.gz
lua53: remove target directory when initiating build
Diffstat (limited to 'lua5.3/PKGBUILD')
-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"