aboutsummaryrefslogtreecommitdiffstats
path: root/main/pangomm/APKBUILD
blob: 260402b88017cad966273f77f15102949ba4154b (plain)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pangomm
pkgver=2.40.1
pkgrel=0
pkgdesc="C++ bindings for pango"
url="http://gtkmm.sourceforge.net/"
arch="all"
license="LGPL"
depends=""
makedepends="pango-dev glibmm-dev cairomm-dev"
depends_dev="$makedepends"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/GNOME/sources/pangomm/${pkgver%.*}/pangomm-$pkgver.tar.xz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
}

build() {
	cd "$srcdir/$pkgname-$pkgver"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="874eadd9434613dbacf0272c82c3ac23  pangomm-2.40.1.tar.xz"
sha256sums="9762ee2a2d5781be6797448d4dd2383ce14907159b30bc12bf6b08e7227be3af  pangomm-2.40.1.tar.xz"
sha512sums="bed19800b76e69cc51abeb5997bdc2f687f261ebcbe36aeee51f1fbf5010a46f4b9469033c34a912502001d9985135fd5c7f7574d3de8ba33cc5832520c6aa6f  pangomm-2.40.1.tar.xz"