summaryrefslogblamecommitdiff
path: root/user/cairomm/APKBUILD
blob: 601830296f42a0047dddef93cd3a6fe10e4b4a74 (plain) (tree)




































                                                                                                                                                                    
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=cairomm
pkgver=1.12.0
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://download.gnome.org/sources/cairomm/${pkgver%.*}/cairomm-$pkgver.tar.xz"

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="750e05f079c2ee9786d1a1ddb66ff90405549a82aeb542d585f904f7147994a451950a77ecb563f290cf2358f7010360ab03d9aa3a319651615c48bd25aeb7e8  cairomm-1.12.0.tar.xz"