aboutsummaryrefslogtreecommitdiffstats
path: root/community/libportal/APKBUILD
blob: 8bbc301f508e1191a2d48329ee08f24aa8f4b4e0 (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
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=libportal
pkgver=0.3
pkgrel=0
pkgdesc="GIO-style async APIs for most Flatpak portals"
url="https://github.com/flatpak/libportal"
arch="all"
license="GPL-2.0-or-later"
makedepends="meson glib-dev gtk-doc"
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/flatpak/libportal/archive/$pkgver.tar.gz"

build() {
	meson \
		--prefix=/usr \
		--buildtype=plain \
		. output
	ninja -C output
}

check() {
	meson test -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}
sha512sums="eb62d786a9988a39b39d6238bbd420642e7bfc6b879952b6dac8aa407b81ec05ff01f0afda039e385ffa4794905d28edfb37bb77340f67625e252622c7ab2472  libportal-0.3.tar.gz"