APKBUILD 910 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.24.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
13
14
15
install="pango.post-install $pkgname.pre-deinstall"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
	$install"

16
depends_dev="glib-dev freetype-dev fontconfig-dev libxft-dev"
Natanael Copa's avatar
Natanael Copa committed
17
18
19
20
21
22
23
24
25
build () 
{ 
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var || return 1
	make || return 1
	make DESTDIR="$pkgdir" install || return 1
}
Natanael Copa's avatar
Natanael Copa committed
26
md5sums="7bc6c884d847cabc613e4c6d663771f5  pango-1.24.2.tar.bz2
Natanael Copa's avatar
Natanael Copa committed
27
28
457d66ce8a405fca12009b3c2c06bfa6  pango.post-install
daaca20be2a577d5bcd395ca53d4b4c0  pango.pre-deinstall"