testing/lua-pgmoon: prevent manifest overwrite

The luarocks manifest file is managed by luarocks itself, remove it from
build to prevent overwrite
This commit is contained in:
Guilherme Felipe da Silva 2020-03-04 14:05:48 +01:00 committed by Leo
parent 9d6cbff838
commit 97021acf8e

View File

@ -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
}