core/librsvg/PKGBUILD

27 lines
883 B
Bash
Raw Normal View History

2010-05-17 15:50:50 +08:00
# $Id: PKGBUILD 79310 2010-05-02 17:40:37Z ibiru $
2010-03-14 23:48:48 +08:00
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=librsvg
2011-02-16 00:25:27 +08:00
pkgver=2.32.1
2011-04-22 06:28:45 +08:00
pkgrel=2
2010-03-14 23:48:48 +08:00
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
arch=(i686 x86_64)
license=('LGPL')
2011-04-22 06:28:45 +08:00
depends=('gdk-pixbuf2' 'pango' 'libcroco')
makedepends=('intltool')
2010-03-14 23:48:48 +08:00
optdepends=('python: rsvg commandline utility')
options=('!libtool')
url="http://librsvg.sourceforge.net/"
2011-02-16 00:25:27 +08:00
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2)
2010-03-14 23:48:48 +08:00
install=librsvg.install
2011-02-16 00:25:27 +08:00
sha256sums=('91b98051f352fab8a6257688d6b2fd665b4648ed66144861f2f853ccf876d334')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} \
--with-croco --disable-static \
2011-04-22 06:28:45 +08:00
--with-svgz --disable-gtk-theme || return 1
2010-03-14 23:48:48 +08:00
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}