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

depends_dev="glib-dev freetype-dev fontconfig-dev libxft-dev"
build () 
{ 
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}

dev() {
	default_dev
	install -d "$subpkgdir"/usr/share
	mv "$pkgdir"/usr/share/gir* "$subpkgdir"/usr/share/
}

md5sums="bab5b4eb3fde6b0a5bfe98d25e668741  pango-1.28.1.tar.bz2"