diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-29 10:47:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-29 10:47:32 +0000 |
commit | 722f9770ace6ebb82b4debb3f717428606ee1393 (patch) | |
tree | 55128fa2ae9c7076dd552afc1b1d0ad2576a74cf /main/librsvg/APKBUILD | |
parent | 3e19464b58940b8e631ad7a70238ffbf2abe27b8 (diff) | |
download | aports-722f9770ace6ebb82b4debb3f717428606ee1393.tar.bz2 aports-722f9770ace6ebb82b4debb3f717428606ee1393.tar.xz |
main/librsvg: rebuild against libpng-1.4 and list gtk triggers do the post job
Diffstat (limited to 'main/librsvg/APKBUILD')
-rw-r--r-- | main/librsvg/APKBUILD | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/main/librsvg/APKBUILD b/main/librsvg/APKBUILD index ba930bf6d..0a6d57961 100644 --- a/main/librsvg/APKBUILD +++ b/main/librsvg/APKBUILD @@ -1,22 +1,21 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=librsvg pkgver=2.26.0 -pkgrel=0 +pkgrel=1 pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf" url="http://librsvg.sourceforge.net/" license="LGPL" subpackages="$pkgname-dev $pkgname-doc" depends= makedepends="gtk+-dev libcroco-dev libgsf-dev bzip2-dev" -install="librsvg.post-install librsvg.post-upgrade librsvg.post-deinstall" -source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/2.26/$pkgname-$pkgver.tar.bz2 - $install" +install= +source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/2.26/$pkgname-$pkgver.tar.bz2" depends_dev="glib-dev gtk+-dev cairo-dev libcroco-dev libgsf-dev" -build () -{ - cd "$srcdir"/$pkgname-$pkgver +_builddir="$srcdir"/$pkgname-$pkgver +build() { + cd "$_builddir" ./configure --prefix=/usr \ --libexecdir=/usr/lib/$pkgname \ --with-croco \ @@ -24,11 +23,12 @@ build () --disable-mozilla-plugin \ --with-svgz || return 1 make || return 1 +} + +package() { + cd "$_builddir" make DESTDIR=""$pkgdir"" install || return 1 rm -rf "$pkgdir"/usr/lib/mozilla } -md5sums="65dbd726a514fe8b797d26254b8efc1e librsvg-2.26.0.tar.bz2 -323a187b3a9bc1c506543c03a6f533ce librsvg.post-install -323a187b3a9bc1c506543c03a6f533ce librsvg.post-upgrade -323a187b3a9bc1c506543c03a6f533ce librsvg.post-deinstall" +md5sums="65dbd726a514fe8b797d26254b8efc1e librsvg-2.26.0.tar.bz2" |