diff options
Diffstat (limited to 'main/pango')
-rw-r--r-- | main/pango/APKBUILD | 29 | ||||
-rw-r--r-- | main/pango/pango.post-install | 2 | ||||
-rw-r--r-- | main/pango/pango.pre-deinstall | 2 |
3 files changed, 33 insertions, 0 deletions
diff --git a/main/pango/APKBUILD b/main/pango/APKBUILD new file mode 100644 index 000000000..b7687936f --- /dev/null +++ b/main/pango/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=pango +pkgver=1.26.2 +pkgrel=0 +pkgdesc="A library for layout and rendering of text" +url="http://www.pango.org/" +license="LGPL" +subpackages="$pkgname-dev $pkgname-doc" +depends= +makedepends="pkgconfig glib-dev cairo-dev libxft-dev gettext-dev libiconv-dev + expat-dev" +install="pango.post-install $pkgname.pre-deinstall" +source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2" + +depends_dev="glib-dev freetype-dev fontconfig-dev libxft-dev" +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var || return 1 + make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="f30212b8833af3ce5c82121dc309e3d0 pango-1.26.2.tar.bz2" diff --git a/main/pango/pango.post-install b/main/pango/pango.post-install new file mode 100644 index 000000000..15a6090db --- /dev/null +++ b/main/pango/pango.post-install @@ -0,0 +1,2 @@ +#!/bin/sh +pango-querymodules > /etc/pango/pango.modules diff --git a/main/pango/pango.pre-deinstall b/main/pango/pango.pre-deinstall new file mode 100644 index 000000000..92127b59d --- /dev/null +++ b/main/pango/pango.pre-deinstall @@ -0,0 +1,2 @@ +#!/bin/sh +rm -f /etc/pango/pango.modules |