aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilherme Felipe da Silva <gfsilva.eng@gmail.com>2020-03-04 14:05:48 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-03-09 16:04:48 -0300
commit97021acf8e60d4a0cfe044b7403dcfaef8fa7d78 (patch)
treed421ec2c2a70bee81831968e14209f80ac260f49
parent9d6cbff838c8b1c5a47cd36394b7f089216aff86 (diff)
downloadaports-97021acf8e60d4a0cfe044b7403dcfaef8fa7d78.tar.gz
aports-97021acf8e60d4a0cfe044b7403dcfaef8fa7d78.tar.bz2
aports-97021acf8e60d4a0cfe044b7403dcfaef8fa7d78.tar.xz
testing/lua-pgmoon: prevent manifest overwrite
The luarocks manifest file is managed by luarocks itself, remove it from build to prevent overwrite
-rw-r--r--testing/lua-pgmoon/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/lua-pgmoon/APKBUILD b/testing/lua-pgmoon/APKBUILD
index b058adb808..c06c12be92 100644
--- a/testing/lua-pgmoon/APKBUILD
+++ b/testing/lua-pgmoon/APKBUILD
@@ -2,7 +2,7 @@
pkgname=lua-pgmoon
_rockname="${pkgname#lua-}"
pkgver=1.10.0
-pkgrel=0
+pkgrel=1
pkgdesc="A pure Lua Postgres driver for use in OpenResty & more"
url="https://github.com/leafo/pgmoon"
license="MIT"
@@ -29,6 +29,8 @@ build() {
LUA_LIBDIR="$(pkg-config --variable=libdir lua$lver)" \
make --tree="./build" \
"$_rockname-dev-1.rockspec"
+
+ rm "./build/lib/luarocks/rocks-$lver/manifest"
done
}