summaryrefslogtreecommitdiffstats
path: root/librsvg/Pkgfile
blob: c9f6f1b246cfdd83c7b4f8e7f1eeca355f7fc8b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Librairie SVG
# URL: http://librsvg.sourceforge.net/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: gtk, libxml2, libgsf, libcroco, xorg-libxinerama, xorg-libxrandr, xorg-libxdamage, xorg-libxcursor, gtk3, gobject-introspection
# Run on: gtk,libxml2,libgsf,libcroco,gtk3

name=librsvg
version=2.36.0
release=1
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)

build() {
	cd $name-$version
	./configure --prefix=/usr \
		--enable-gtk-theme \
		--enable-pixbuf-loader \
		--enable-introspection=yes
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/gtk-doc
#	sed -i "s/python/python2/" $PKG/usr/bin/rsvg
}