blob: 46a513e7a0baf4665dc4a79fed258431c013de6a (
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
38
39
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pango
pkgver=1.36.6
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 \
--build=$CBUILD \
--host=$CHOST \
--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="1c27523c3f3a4efe4d9d303d0d240320 pango-1.36.6.tar.xz"
sha256sums="4c53c752823723875078b91340f32136aadb99e91c0f6483f024f978a02c8624 pango-1.36.6.tar.xz"
sha512sums="1345e236059f03cc110adc8a3d6a0fc5565d6fed5f90463f18a672ed82826941fa2dac3a9e9c7d24676e03ff5fcfef091696fbef683c51560989b8224e7637a2 pango-1.36.6.tar.xz"
|