summaryrefslogtreecommitdiff
path: root/user/cairomm/APKBUILD
blob: 06626cceb323dc93e9b5720818320058a70a8f12 (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: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=cairomm
pkgver=1.12.2
pkgrel=0
pkgdesc="C++ interfaces to Cairo"
url="https://gnome.org"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="glibmm-dev libsigc++-dev cairo-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.cairographics.org/releases/cairomm-$pkgver.tar.gz"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="df2749e3865dfddf04c40b671453e057e7e76c5052bfc38d5b986c544b7ec43de40b1ef5b4d0e34f58781230d4b220c4176ddef773cd6a316c73641c4aec77c0  cairomm-1.12.2.tar.gz"