mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 16:07:20 +08:00
37 lines
977 B
Bash
37 lines
977 B
Bash
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=librsvg
|
|
pkgver=2.36.4
|
|
pkgrel=1
|
|
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
|
|
arch=('x86_64')
|
|
license=('LGPL')
|
|
depends=('gdk-pixbuf2' 'pango' 'libcroco')
|
|
makedepends=('intltool' 'gobject-introspection')
|
|
optdepends=('python: rsvg commandline utility')
|
|
options=('!libtool')
|
|
url="http://librsvg.sourceforge.net/"
|
|
source=("http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.36/${pkgname}-${pkgver}.tar.xz")
|
|
install=librsvg.install
|
|
sha256sums=('1021935204798f4f0ad3004a09b583668ea94a48593461b147fdcff68a18e6c2')
|
|
|
|
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
|
|
}
|