blob: 6a702aad855508c6d975f44151e09a68bb32339d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $Id: PKGBUILD 13073 2008-09-25 20:24:43Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=librsvg
pkgver=2.22.3
pkgrel=1
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
arch=(i686 x86_64)
license=('LGPL')
depends=('gtk2>=2.14.3' 'libcroco>=0.6.1' 'libgsf>=1.14.8')
makedepends=('perlxml' 'pkgconfig')
options=('!libtool')
url="http://librsvg.sourceforge.net/"
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.22/${pkgname}-${pkgver}.tar.bz2)
install=librsvg.install
md5sums=('c4ec4fdb2b1842e221ca39127e85682d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} \
--with-croco \
--disable-mozilla-plugin --with-svgz
make || return 1
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/lib/mozilla"
rm ${pkgdir}/usr/lib/gtk-2.0/*/{engines,loaders}/*.a
}
|