void-packages/srcpkgs/libmanette/template

27 lines
843 B
Bash

# Template file for 'libmanette'
pkgname=libmanette
version=0.2.6
revision=1
build_helper="gir"
build_style=meson
hostmakedepends="glib-devel gobject-introspection pkg-config vala"
makedepends="libevdev-devel libglib-devel libgudev-devel"
short_desc="Simple GObject game controller library"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/aplazas/libmanette"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=63653259a821ec7d90d681e52e757e2219d462828c9d74b056a5f53267636bac
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
}
}