summaryrefslogblamecommitdiff
path: root/user/pango/APKBUILD
blob: f2f8db1a37832800c9bad1bddf9f746ac43ec832 (plain) (tree)

































                                                                                                                                                                  
# Maintainer: 
pkgname=pango
pkgver=1.42.1
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="70f0519fdcb896880a9552ed1f3ef85e3e7b99a161818e7c3a5ac851b64366544393546336bfdc1d66ecfc1aa4791b65ff4182ca9f6e93455ca154fbc9cbef80  pango-1.42.1.tar.xz"