core/librsvg/PKGBUILD

27 lines
903 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
2010-05-17 15:50:50 +08:00
pkgver=2.26.3
2010-04-07 03:23:26 +08:00
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
arch=(i686 x86_64)
license=('LGPL')
2010-05-17 15:50:50 +08:00
depends=('gtk2>=2.20.0' 'libcroco>=0.6.2' 'libgsf>=1.14.16')
2010-05-19 18:29:21 +08:00
makedepends=('intltool' 'pkgconfig' 'gtk-doc')
2010-03-14 23:48:48 +08:00
optdepends=('python: rsvg commandline utility')
options=('!libtool')
url="http://librsvg.sourceforge.net/"
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2)
install=librsvg.install
2010-05-17 15:50:50 +08:00
sha256sums=('c0005f9471b4bd3ba4873d165d8e481ee6b1d124dda4efc6bdc24b7da024b7e5')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} \
--with-croco --disable-static \
2010-04-07 03:23:26 +08:00
--with-svgz || return 1
2010-03-14 23:48:48 +08:00
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}