void-packages/srcpkgs/libmanette/template

27 lines
889 B
Bash

# Template file for 'libmanette'
pkgname=libmanette
version=0.2.1
revision=1
build_style=meson
hostmakedepends="glib-devel gobject-introspection pkg-config vala"
makedepends="libevdev-devel libglib-devel libgudev-devel"
short_desc="A simple GObject game controller library"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/aplazas/libmanette"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=023508e8cbae3c24697a6145aea6a0ba888e0a920fe8ee87f7231972c1f87893
nocross="Hard dependency on gobject-introspection"
libmanette-devel_package() {
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/vala
}
}