aboutsummaryrefslogtreecommitdiffstats
path: root/community/libmanette/APKBUILD
blob: fdcd632ba880eb8a2f96255fcbac0dfc1a855789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libmanette
pkgver=0.2.3
pkgrel=2
pkgdesc="Simple GObject game controller library"
url="https://gitlab.gnome.org/aplazas/libmanette"
arch="all"
license="LGPL-2.1-or-later"
makedepends="meson glib-dev libgudev-dev libevdev-dev gobject-introspection-dev
	vala"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/libmanette/${pkgver%.*}/libmanette-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="23d3feae3b0ba81deb75b0ff911eb37f3d0d767a0ae65815d34cadf69f78ca7f081177a2161105ea3979ba9222b3641e6b776bf4fcf3e46a9de716bdce475df6  libmanette-0.2.3.tar.xz"