aboutsummaryrefslogtreecommitdiffstats
path: root/main/pango/APKBUILD
blob: 57d7b31bc31d5a66ef58804db5ab0d8d5e5fd107 (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.34.0
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="pango.post-install $pkgname.pre-deinstall"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

build () 
{ 
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--with-included-modules=basic-fc \
		--localstatedir=/var || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	mkdir -p "$pkgdir"/etc/pango
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la \
		"$pkgdir"/usr/lib/pango/*/modules/*.la
}

md5sums="eb440fc26b383c0be363e1b952ddc71c  pango-1.34.0.tar.xz"
sha256sums="105da1efe019018a9de81681d88c9ace83d2111509ab625c4be9d124a1fdce27  pango-1.34.0.tar.xz"
sha512sums="26ab663d720e46baafb1c58081203bbf03f9b605ff3d665855cc80f2daa387c2e33df81087ebbafa83ca173902e13f81e0e913b5c1b1df5572e9011e1b4fa5db  pango-1.34.0.tar.xz"