diff options
Diffstat (limited to 'main/lua-dbi/APKBUILD')
-rw-r--r-- | main/lua-dbi/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-dbi/APKBUILD b/main/lua-dbi/APKBUILD index 3ced7c4c7e..b897f33f60 100644 --- a/main/lua-dbi/APKBUILD +++ b/main/lua-dbi/APKBUILD @@ -3,7 +3,7 @@ pkgname=lua-dbi _pkgname=luadbi pkgver=0.6 -pkgrel=0 +pkgrel=1 pkgdesc="A database interface library for Lua" url="https://github.com/mwild1/luadbi" arch="all" @@ -45,12 +45,16 @@ package() { _subpackage() { local lver="${subpkgname:3:3}" local db=${subpkgname##*-} + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname-$db/$pkgver-2" pkgdesc="$pkgdesc $lver and $db" depends="lua$lver" install_if="$pkgname=$pkgver-r$pkgrel lua$lver" cd "$builddir-$lver" make LUA_V=$lver DESTDIR="$subpkgdir" install_${db/postgresql/psql} + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } sha512sums="cac2390e95c5f41e3cf85694292ec7ed32b70ec3b6d0f52a67245d5bbd189beda11f1041c3f1ea7a11fe4d23aeb825d50332f21e938d654b72a96ebcc227c3eb luadbi.tar.gz |