aboutsummaryrefslogtreecommitdiffstats
path: root/main/pango/APKBUILD
blob: 9a3b4e8863bac3dc6622a592d4fd77557edbf9ae (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pango
pkgver=1.40.3
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=""
makedepends="$depends_dev cairo-dev expat-dev gobject-introspection-dev
	fontconfig-dev freetype-dev glib-dev harfbuzz-dev libxft-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="17c26720f5a862a12f7e1745e2f1d966  pango-1.40.3.tar.xz"
sha256sums="abba8b5ce728520c3a0f1535eab19eac3c14aeef7faa5aded90017ceac2711d3  pango-1.40.3.tar.xz"
sha512sums="ff82395e8487624dffe212975b72b3383dcebb197a8675c8b409665e3e2e30fc23d9a6c25c3129a115adb7182b2a71a49550dbe881eb7ee9bbc572de6ba18d27  pango-1.40.3.tar.xz"