mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 16:37:14 +08:00
27 lines
903 B
Bash
27 lines
903 B
Bash
# $Id: PKGBUILD 74286 2010-03-30 18:16:12Z ibiru $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=librsvg
|
|
pkgver=2.26.2
|
|
pkgrel=1
|
|
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
|
|
arch=(i686 x86_64)
|
|
license=('LGPL')
|
|
depends=('gtk2>=2.20.0' 'libcroco>=0.6.1' 'libgsf>=1.14.11')
|
|
makedepends=('intltool' 'pkgconfig' 'gtk-doc')
|
|
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
|
|
sha256sums=('e82fb920901e211a54cff5df88c327bedec8565b324e2f529f428f492361c60f')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} \
|
|
--with-croco --disable-static \
|
|
--with-svgz || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|