27 lines
841 B
Bash
27 lines
841 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="Rasmus Thomsen <oss@cogitri.dev>"
|
|
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
|
|
}
|
|
}
|