26 lines
843 B
Bash
26 lines
843 B
Bash
# Template file for 'libmanette'
|
|
pkgname=libmanette
|
|
version=0.2.2
|
|
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=8b1b9fbaf84f1e383141a5715a2494f507e62313721ad993c39a868fc5ccf7d2
|
|
|
|
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
|
|
}
|
|
}
|