summaryrefslogtreecommitdiff
path: root/user/pangomm/APKBUILD
blob: af20d5b5147eed4c9d8b1d4c507a35847a0be704 (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
37
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=pangomm
pkgver=2.46.3
pkgrel=0
pkgdesc="C++ interfaces for Pango"
url="https://gnome.org"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="doxygen glibmm-dev graphviz cairomm-dev meson ninja pango-dev cmd:xsltproc"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/pangomm/${pkgver%.*}/pangomm-$pkgver.tar.xz"


build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		--wrap-mode=nofallback \
		-Dbuild-documentation=true \
		build
	ninja -C build
}

check() {
	ninja -C build test
}

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

sha512sums="c0925f295b372bca7b5ede28476ed00e691911e041632969e5e4c30fcf338bac069ba031d4f48601877524b90af47f5238e444e2de7501f1ff25dcda9dd9a9c8  pangomm-2.46.3.tar.xz"