aboutsummaryrefslogtreecommitdiffstats
path: root/main/librsvg
diff options
context:
space:
mode:
Diffstat (limited to 'main/librsvg')
-rw-r--r--main/librsvg/APKBUILD22
l---------main/librsvg/librsvg.post-deinstall1
-rw-r--r--main/librsvg/librsvg.post-install7
l---------main/librsvg/librsvg.post-upgrade1
4 files changed, 11 insertions, 20 deletions
diff --git a/main/librsvg/APKBUILD b/main/librsvg/APKBUILD
index ba930bf6db..0a6d579612 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"
diff --git a/main/librsvg/librsvg.post-deinstall b/main/librsvg/librsvg.post-deinstall
deleted file mode 120000
index 4729c2e260..0000000000
--- a/main/librsvg/librsvg.post-deinstall
+++ /dev/null
@@ -1 +0,0 @@
-librsvg.post-install \ No newline at end of file
diff --git a/main/librsvg/librsvg.post-install b/main/librsvg/librsvg.post-install
deleted file mode 100644
index de5ca6c6c0..0000000000
--- a/main/librsvg/librsvg.post-install
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-#We need to update the pixbuf loaders to let GTK support SVG images
-gtk-query-immodules-2.0 > etc/gtk-2.0/gtk.immodules
-gdk-pixbuf-query-loaders > etc/gtk-2.0/gdk-pixbuf.loaders
-
-exit 0
diff --git a/main/librsvg/librsvg.post-upgrade b/main/librsvg/librsvg.post-upgrade
deleted file mode 120000
index 4729c2e260..0000000000
--- a/main/librsvg/librsvg.post-upgrade
+++ /dev/null
@@ -1 +0,0 @@
-librsvg.post-install \ No newline at end of file