blob: 36210652fb471f61726e597a4572dc2e9f30b531 (
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
28
29
30
31
32
33
34
35
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=librsvg
pkgver=2.32.1
pkgrel=1
pkgdesc="SAX-based renderer for SVG files into a GdkPixbuf"
url="http://librsvg.sourceforge.net/"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="gtk+-dev libcroco-dev libgsf-dev bzip2-dev"
install=
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
depends_dev="glib-dev gtk+-dev cairo-dev libcroco-dev libgsf-dev"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure --prefix=/usr \
--libexecdir=/usr/lib/$pkgname \
--with-croco \
--disable-static \
--disable-mozilla-plugin \
--with-svgz || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR=""$pkgdir"" install || return 1
rm -rf "$pkgdir"/usr/lib/mozilla
}
md5sums="4b00d0fee130c936644892c152f42db7 librsvg-2.32.1.tar.bz2"
|