diff options
author | root <root@rshg054.dnsready.net> | 2012-10-19 08:15:39 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-19 08:15:39 -0700 |
commit | dcc55a1cfa32068d0759c1c8307f6c07c11aec99 (patch) | |
tree | 2f6cd8ae52f7f49ed4ac2db1b0f4bf88a8ba5d96 /testing/pango | |
parent | 9e3985ed7c9851da65023a0ab3d0739cce1858e2 (diff) |
Fri Oct 19 08:15:38 PDT 2012
Diffstat (limited to 'testing/pango')
-rw-r--r-- | testing/pango/PKGBUILD | 30 | ||||
-rw-r--r-- | testing/pango/pango.install | 21 |
2 files changed, 51 insertions, 0 deletions
diff --git a/testing/pango/PKGBUILD b/testing/pango/PKGBUILD new file mode 100644 index 000000000..1e6d3616c --- /dev/null +++ b/testing/pango/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 169163 2012-10-18 19:23:05Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=pango +pkgver=1.32.1 +pkgrel=1 +pkgdesc="A library for layout and rendering of text" +arch=('i686' 'x86_64') +license=('LGPL') +depends=('libthai' 'cairo' 'libxft' 'harfbuzz') +makedepends=('harfbuzz' 'fontconfig' 'cairo' 'libxft' 'libthai' 'gobject-introspection') +options=('!libtool') +install=pango.install +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz) +url="http://www.pango.org/" +sha256sums=('484babf7e1ac4bf959a0babe8168f180acb516932d70e2985de5f6e2961fcd82') + +build() { + cd ${pkgname}-${pkgver} + + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --with-included-modules=basic-fc + make +} + +package() { + cd ${pkgname}-${pkgver} + make -j1 DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/etc/pango" +} diff --git a/testing/pango/pango.install b/testing/pango/pango.install new file mode 100644 index 000000000..73b0f5bf1 --- /dev/null +++ b/testing/pango/pango.install @@ -0,0 +1,21 @@ +# arg 1: the new package version +post_install() { + # we need to ldconfig first, in case xfree86's libs aren't + # in ld.so.cache yet + sbin/ldconfig -r . + usr/bin/pango-querymodules >etc/pango/pango.modules +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + if [ -f usr/etc/pango/pango.modules ]; then + rm usr/etc/pango/pango.modules + fi + post_install $1 +} + +# arg 1: the old package version +pre_remove() { + rm etc/pango/pango.modules +} |