summaryrefslogtreecommitdiff
path: root/user/pango/APKBUILD
blob: aff854dc065c45eaadbc08a9748dba3588422644 (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
# Maintainer: 
pkgname=pango
pkgver=1.42.4
pkgrel=0
pkgdesc="Library for laying out and rendering text"
url="https://www.pango.org/"
arch="all"
options="!check"  # no tests available
license="LGPL-2.1+"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="$depends_dev cairo-dev expat-dev fontconfig-dev freetype-dev
	fribidi-dev glib-dev gobject-introspection-dev harfbuzz-dev libxft-dev"
install="$pkgname.pre-deinstall"
triggers="$pkgname.trigger=/usr/lib/pango/*/modules"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

build () {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	mkdir -p "$pkgdir"/etc/pango
	make DESTDIR="$pkgdir" install
}

sha512sums="993e97f647eba0c5ed90bcfcb8228bf67fa3f20b1f4331e4e40a30788d7c3ac55eee1209471bf21df125cb8fc6121acc8062a9da2f8a7d6cbe8e9ad13a9320dc  pango-1.42.4.tar.xz"