aboutsummaryrefslogtreecommitdiffstats
path: root/main/pango/APKBUILD
blob: 7248f0087b0ef03eefe90666cc4a1928831a8954 (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
38
39
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pango
pkgver=1.36.1
pkgrel=0
pkgdesc="A library for layout and rendering of text"
url="http://www.pango.org/"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
depends_dev="glib-dev freetype-dev fontconfig-dev libxft-dev harfbuzz-dev"
makedepends="$depends_dev cairo-dev expat-dev gobject-introspection-dev"
install="pango.post-install $pkgname.pre-deinstall"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--with-included-modules=basic-fc \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	mkdir -p "$pkgdir"/etc/pango
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la \
		"$pkgdir"/usr/lib/pango/*/modules/*.la
}

md5sums="9e0d3a1ea395172f8c39ba98a4d2081a  pango-1.36.1.tar.xz"
sha256sums="42e4b51cdc99e6878a9ea2a5ef2b31b79c1033f8518726df738a3c54c90e59f8  pango-1.36.1.tar.xz"
sha512sums="4807462ad2ff886ebdf83a6d4a4f7f855163de1d58a9cdb94de48d003bbdff2697ebb0628029e6270cee13071b81f8104b35ec9e0d6801312969299b8d8f859c  pango-1.36.1.tar.xz"