aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/lua-sql/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-sql/APKBUILD b/main/lua-sql/APKBUILD
index 87cdfdfc74..2b6a7d8d54 100644
--- a/main/lua-sql/APKBUILD
+++ b/main/lua-sql/APKBUILD
@@ -6,7 +6,7 @@ _drivers="mysql postgres sqlite3 odbc"
pkgname=lua-sql
_pkgname=luasql
pkgver=2.3.5
-pkgrel=0
+pkgrel=1
pkgdesc="Lua SQL drivers"
url="http://keplerproject.github.io/luasql/doc/us/"
arch="all"
@@ -81,11 +81,15 @@ _subpackage() {
pkgdesc="Lua $lver SQL driver for $driver"
depends="lua$lver"
install_if="lua-sql-$driver=$pkgver-r$pkgrel lua$lver"
+ local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1"
cd "$builddir-$lver"
local install_cmod="$(pkg-config --variable INSTALL_CMOD lua$lver)"
install -D src/$driver.so \
"$subpkgdir"/$install_cmod/luasql/$driver.so
+
+ mkdir -p "$rockdir"
+ echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
sha512sums="28e25998366a2517cdd37933f0f00e0bb4b06bd9b6731209361777d6b755d62d763168dc78177cab5dfeee667deea04ff775912fb148ed145d64cea5407df4e7 luasql-2.3.5.tar.gz"