summaryrefslogtreecommitdiff
path: root/user/graphene/APKBUILD
blob: 9fcbb615445fca8e167c218729101f51c0f43823 (plain) (blame)
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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=graphene
pkgver=1.10.8
pkgrel=0
pkgdesc="Thin layer of graphic data types"
url="https://ebassi.github.io/graphene/"
arch="all"
license="MIT"
depends=""
makedepends="glib-dev gobject-introspection-dev meson"
subpackages="$pkgname-dev"
source="graphene-$pkgver.tar.gz::https://github.com/ebassi/graphene/archive/refs/tags/$pkgver.tar.gz
	installed-tests.patch
	"

build() {
	meson \
		-Dprefix=/usr \
		-Dintrospection=enabled \
		-Dinstalled_tests=false \
		_build
	ninja -C _build
}

check() {
	ninja -C _build test
}

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

sha512sums="526b0c17049459b687ceb7f6c26c9d982535e4048e74a0b6282704f9811d3c2e7e0e6cfef166aa953306b6cf77add6677bc600ae0c66cc052dc04c3d0345bd68  graphene-1.10.8.tar.gz
862c77a54878706adcc5ec438a8aa24b43fdb1e8548942913bfd432411ea69d6541b9a04e99716162fc23354ec7664015ef3157869769a904ad0b281332bdb5d  installed-tests.patch"