Commit aef29aa0 authored by Jakub Jirutka's avatar Jakub Jirutka

main/lua-evdev: install minimal rock_manifest

parent e59aa9ef
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
_luaversions="5.1 5.2 5.3"
pkgname=lua-evdev
_rockname=evdev
pkgver=2.2.1
pkgrel=0
pkgrel=1
pkgdesc="Lua module for reading input events"
url="https://github.com/Tangent128/lua-evdev"
arch="all"
......@@ -43,6 +44,7 @@ _package() {
pkgdesc="$pkgdesc (for Lua $lver)"
depends="$depends lua$lver"
install_if="$pkgname=$pkgver-r$pkgrel lua$lver"
local rockdir="$subpkgdir/usr/lib/luarocks/rocks-$lver/$_rockname/$pkgver-1"
cd "$builddir-$lver"
......@@ -50,6 +52,9 @@ _package() {
install -D $f "$subpkgdir"/usr/share/lua/$lver/$f || return 1
done
install -D evdev/core.so "$subpkgdir"/usr/lib/lua/$lver/evdev/core.so
mkdir -p "$rockdir"
echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}
md5sums="8db10a3079bda7acd20046e0793df678 lua-evdev-2.2.1.tar.gz"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment