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 | a38fe5ae5c1b7b1c523ca1e37d08ba1304e3fc70 (patch) | |
tree | dc91eddd06a0322ff3ad65ba250c65e2f3d6b4b0 /main/lua-sql/APKBUILD | |
parent | 73e6543fcec29a5f8de5309614586fb56a628af7 (diff) | |
download | aports-a38fe5ae5c1b7b1c523ca1e37d08ba1304e3fc70.tar.bz2 aports-a38fe5ae5c1b7b1c523ca1e37d08ba1304e3fc70.tar.xz |
main/lua-sql: install minimal rock_manifest
Diffstat (limited to 'main/lua-sql/APKBUILD')
-rw-r--r-- | main/lua-sql/APKBUILD | 6 |
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" |