core/librsvg/PKGBUILD

33 lines
882 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=librsvg
pkgver=2.40.16
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
arch=('x86_64')
2010-03-14 23:48:48 +08:00
license=('LGPL')
2011-04-22 06:28:45 +08:00
depends=('gdk-pixbuf2' 'pango' 'libcroco')
makedepends=('intltool' 'gobject-introspection')
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}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
2010-03-14 23:48:48 +08:00
install=librsvg.install
sha256sums=('d48bcf6b03fa98f07df10332fb49d8c010786ddca6ab34cbba217684f533ff2e')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--libexecdir=/usr/lib/${pkgname} \
--with-croco \
--disable-static \
--with-svgz \
--disable-gtk-theme
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
}