summaryrefslogtreecommitdiff
path: root/user/libliftoff/APKBUILD
blob: f20afd85f3372c90652a6d49b5e380587a5f1fe8 (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
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=libliftoff
pkgver=0.5.0
pkgrel=0
pkgdesc="A lightweight KMS plane library"
url="https://gitlab.freedesktop.org/emersion/libliftoff"
arch="all"
license="MIT"
depends=""
makedepends="meson libdrm-dev"
subpackages="$pkgname-dev"
source="https://gitlab.freedesktop.org/emersion/libliftoff/-/releases/v$pkgver/downloads/libliftoff-$pkgver.tar.gz"

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

check() {
	meson test -C output
}

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

sha512sums="ce808f6a087f1f629cfebef95bfc7e216a09fb409b96b3c9f6b84d9d986ce50c5d7bf5b45c68e8baa99566b3627d754c269855b6f4ec3be63ae7b9f5109d5f08  libliftoff-0.5.0.tar.gz"