aboutsummaryrefslogtreecommitdiffstats
path: root/main/pango/APKBUILD
blob: d3f97344345fb1353535791873d6bb402e9e428d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pango
pkgver=1.40.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="$pkgname.pre-deinstall"
triggers="$pkgname.trigger=/usr/lib/pango/*/modules"
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 \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

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

md5sums="6fc88c6529890d6c8e03074d57a3eceb  pango-1.40.1.tar.xz"
sha256sums="e27af54172c72b3ac6be53c9a4c67053e16c905e02addcf3a603ceb2005c1a40  pango-1.40.1.tar.xz"
sha512sums="0245fca0156eb7a26ac65ae23ae026271355a506f9bd4f1c0f3a5c3ac8bb44d04561390bdf259370220aaad6d883563721bfdcb4bfa47615fad47fddfe4f620f  pango-1.40.1.tar.xz"