summaryrefslogtreecommitdiff
path: root/user/libxmlb/APKBUILD
blob: d0c12ca2ec2ab50d2b557950ed28b63f1c93c208 (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
35
36
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=libxmlb
pkgver=0.3.14
pkgrel=0
pkgdesc="Library for working with binary XML blobs"
url="https://github.com/hughsie/libxmlb"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="cmake meson ninja glib-dev gobject-introspection-dev gtk-doc
	xz-dev zstd-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="libxmlb-$pkgver.tar.gz::https://github.com/hughsie/libxmlb/archive/$pkgver.tar.gz"

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

check() {
	meson test -C output
}

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

sha512sums="6c77b9475ca3430270ca29e3d1c5720740c54ff55da76501495da315ea039500e64791689600aa59f3003ff54d030203616ad468169c296bf34434a68e24df50  libxmlb-0.3.14.tar.gz"