diff options
Diffstat (limited to 'main/pango/APKBUILD')
-rw-r--r-- | main/pango/APKBUILD | 29 |
1 files changed, 29 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" |