# Maintainer: Natanael Copa pkgname=inkscape pkgver=0.48.4 pkgrel=4 pkgdesc="A vector-based drawing program - svg compliant" url="http://inkscape.sourceforge.net/" arch="all" license="GPL LGPL" makedepends=" poppler-gtk-dev imagemagick-dev gtkspell-dev gc-dev gtkmm-dev libxslt-dev gsl-dev py-xml popt-dev lcms-dev libxml2-dev boost-dev autoconf automake tar " depends="desktop-file-utils" install= subpackages="$pkgname-lang" source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz automake.patch" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" for i in $source; do case $i in *.patch) msg "$i"; patch -p1 -i "$srcdir"/$i || return 1;; esac done aclocal -I m4 && autoconf && automake -a && autoheader } build() { cd "$_builddir" ./configure --prefix=/usr \ --with-python \ --with-perl \ --without-gnome-vfs \ --with-xft \ --enable-lcms \ --enable-poppler-cairo \ --disable-dependency-tracking \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="2c7149e877609f3f7e7a9d4e6f510d2b inkscape-0.48.4.tar.gz f212448d60a2182611071e40d247da06 automake.patch"