diff options
Diffstat (limited to 'main/lua-sqlite')
-rw-r--r-- | main/lua-sqlite/APKBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/lua-sqlite/APKBUILD b/main/lua-sqlite/APKBUILD index ab224c81c7..3733e06ce9 100644 --- a/main/lua-sqlite/APKBUILD +++ b/main/lua-sqlite/APKBUILD @@ -1,11 +1,12 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Carlo Landmeter <clandmeter@gmail.com> pkgname=lua-sqlite +_rockname=lsqlite3 pkgver=0.9.4 _uuid="fsl_9x" [ "$pkgver" != "0.9.4" ] && die "Please update uuid!" _luaversions="5.1 5.2 5.3" -pkgrel=1 +pkgrel=2 pkgdesc="Sqlite3 Binding for Lua" url="http://lua.sqlite.org/index.cgi/home" arch="all" @@ -54,10 +55,14 @@ _package() { pkgdesc="$pkgdesc (for Lua $lver)" depends="lua$lver" install_if="$pkgname=$pkgver-r$pkgrel lua$lver" + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-1" cd "$builddir-$lver" install -Dm755 lsqlite3.so \ "$subpkgdir"/usr/lib/lua/$lver/lsqlite3.so || return 1 + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } md5sums="1389c43431e57c7f2d13b1293bf322d7 lua-sqlite-0.9.4.zip" |