diff options
Diffstat (limited to 'main/lua-cqueues/APKBUILD')
-rw-r--r-- | main/lua-cqueues/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-cqueues/APKBUILD b/main/lua-cqueues/APKBUILD index 02558bdcdc..b8448c9a89 100644 --- a/main/lua-cqueues/APKBUILD +++ b/main/lua-cqueues/APKBUILD @@ -4,7 +4,7 @@ _luaversions="5.1 5.2 5.3" pkgname=lua-cqueues _pkgname=cqueues pkgver=20161215 -pkgrel=0 +pkgrel=1 pkgdesc="Lua event loop using coroutines" url="http://25thandclement.com/~william/projects/cqueues.html" arch="all" @@ -42,9 +42,13 @@ _package() { pkgdesc="$pkgdesc - for Lua $lver" depends="lua$lver" install_if="lua$lver $pkgname=$pkgver-r$pkgrel" + local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_pkgname/$pkgver-0" cd "$builddir" make DESTDIR="$subpkgdir" prefix=/usr install$lver + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } sha512sums="60060acb5b6f6d329b0c31dadddbf6242deeef5c206b3d1279cb04c68dcdf88d163ed423465af9713ca8cc03e19f6fb87589bf9a307f1f178263f0c17c7f8ac1 cqueues-20161215.tar.gz |