APKBUILD 839 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1 2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pango
Natanael Copa's avatar
Natanael Copa committed
3
pkgver=1.26.2
Natanael Copa's avatar
Natanael Copa committed
4 5 6 7 8
pkgrel=0
pkgdesc="A library for layout and rendering of text"
url="http://www.pango.org/"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
Natanael Copa's avatar
Natanael Copa committed
9
depends=
Natanael Copa's avatar
Natanael Copa committed
10 11
makedepends="pkgconfig glib-dev cairo-dev libxft-dev gettext-dev libiconv-dev
	expat-dev"
Natanael Copa's avatar
Natanael Copa committed
12
install="pango.post-install $pkgname.pre-deinstall"
Natanael Copa's avatar
Natanael Copa committed
13
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
Natanael Copa's avatar
Natanael Copa committed
14

15
depends_dev="glib-dev freetype-dev fontconfig-dev libxft-dev"
Natanael Copa's avatar
Natanael Copa committed
16 17 18 19 20 21 22
build () 
{ 
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var || return 1
	make || return 1
Natanael Copa's avatar
Natanael Copa committed
23 24 25 26
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
Natanael Copa's avatar
Natanael Copa committed
27 28
	make DESTDIR="$pkgdir" install || return 1
}
Natanael Copa's avatar
Natanael Copa committed
29
md5sums="f30212b8833af3ce5c82121dc309e3d0  pango-1.26.2.tar.bz2"