diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:01:06 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-22 20:02:15 +0200 |
commit | 5c8153a6ae15bfce8cd95844f1723b06d1293fea (patch) | |
tree | 29993525f36f158ed8cef8d76353e90b047427f7 | |
parent | a38fe5ae5c1b7b1c523ca1e37d08ba1304e3fc70 (diff) | |
download | aports-5c8153a6ae15bfce8cd95844f1723b06d1293fea.tar.bz2 aports-5c8153a6ae15bfce8cd95844f1723b06d1293fea.tar.xz |
main/lua-sqlite: install minimal rock_manifest
-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" |