void-packages/srcpkgs/libratbag/template
bra1nwave cd4871617c libratbag: update to 0.11.
- adopt package
2019-11-11 07:22:45 +01:00

32 lines
956 B
Bash

# Template file for 'libratbag'
pkgname=libratbag
version=0.11
revision=1
build_style=meson
configure_args="-Dtests=false -Dsystemd-unit-dir=''
-Dsystemd=false -Db_ndebug=false"
hostmakedepends="pkg-config git swig"
makedepends="elogind-devel eudev-libudev-devel libglib-devel libevdev-devel
python3-devel json-glib-devel libunistring-devel"
depends="dbus python3-evdev python3-gobject"
short_desc="DBus daemon to configure gaming mice"
maintainer="bra1nwave <bra1nwave@protonmail.com>"
license="MIT"
homepage="https://github.com/libratbag/libratbag"
distfiles="https://github.com/libratbag/libratbag/archive/v${version}.tar.gz"
checksum=aa0bb012c2f581ee35ec023d516d23eb22d38f16092e7de44bd8481df953408d
post_install() {
vsv ratbagd
vlicense COPYING
}
libratbag-devel_package() {
depends="libratbag-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}