aboutsummaryrefslogtreecommitdiffstats
path: root/main/pango/APKBUILD
blob: 0000af79addc58be5260450bbeb3a183a160cedf (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
40
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pango
pkgver=1.35.2
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="d0bc2113afe1c40d4f3b15454764f261  pango-1.35.2.tar.xz"
sha256sums="b5c1d0682110fa605efdad9da6b7104e7767f4c31551b0fcc6d425789864afba  pango-1.35.2.tar.xz"
sha512sums="44495ffa2c0e64154899e66685001e36c4e081a093f4fa1d1f27c2fa89a3c84112c5d2de9342d72a6ddad961f320f3e74037a5bb0691b37ce71c7a390b636858  pango-1.35.2.tar.xz"