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 | 292be74e1dbc26886793b0941c3ff2c16036aefc (patch) | |
tree | eb72fb1694faf236c6e95fba319da0ba8434bd4f | |
parent | 817e1bd7432b7dd1a7c3d21c637d05e095cd4125 (diff) | |
download | aports-292be74e1dbc26886793b0941c3ff2c16036aefc.tar.bz2 aports-292be74e1dbc26886793b0941c3ff2c16036aefc.tar.xz |
main/lua-mosquitto: install minimal rock_manifest
-rw-r--r-- | main/lua-mosquitto/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/lua-mosquitto/APKBUILD b/main/lua-mosquitto/APKBUILD index 031591e31d..8f5f55b051 100644 --- a/main/lua-mosquitto/APKBUILD +++ b/main/lua-mosquitto/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=lua-mosquitto pkgver=0.2 -pkgrel=0 +pkgrel=1 pkgdesc="Bindingd to libmosquitto for Lua" url="https://github.com/flukso/lua-mosquitto" arch="all" @@ -42,11 +42,15 @@ _package() { pkgdesc="$pkgdesc $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" make install DESTDIR="$subpkgdir" \ LUA_LIBDIR=/usr/lib \ LUAPKGC=lua$lver + + mkdir -p "$rockdir" + echo 'rock_manifest = {}' > "$rockdir"/rock_manifest } md5sums="4954191018ad2cfed6273e2547750e6c lua-mosquitto-0.2.tar.gz" |