mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 18:17:14 +08:00
27 lines
883 B
Bash
27 lines
883 B
Bash
# $Id: PKGBUILD 79310 2010-05-02 17:40:37Z ibiru $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=librsvg
|
|
pkgver=2.32.1
|
|
pkgrel=2
|
|
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
|
|
arch=(i686 x86_64)
|
|
license=('LGPL')
|
|
depends=('gdk-pixbuf2' 'pango' 'libcroco')
|
|
makedepends=('intltool')
|
|
optdepends=('python: rsvg commandline utility')
|
|
options=('!libtool')
|
|
url="http://librsvg.sourceforge.net/"
|
|
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2)
|
|
install=librsvg.install
|
|
sha256sums=('91b98051f352fab8a6257688d6b2fd665b4648ed66144861f2f853ccf876d334')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} \
|
|
--with-croco --disable-static \
|
|
--with-svgz --disable-gtk-theme || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|