#Maintainer: Dimitris Tzemos <dijemos~at~gmail~dot~com>

pkgname=inkscape
pkgver=0.91
pkgrel=3dj
source=("https://inkscape.org/en/gallery/item/3860/$pkgname-$pkgver.tar.bz2"
"http://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_91_BRANCH/download/head:/markers_strokepaint.-20091128124040-aej0x7yhxng1m6ly-8339/markers_strokepaint.inx.disabled")
sourcetemplate=http://people.salixos.org/djemos/salix/$pkgname
docs=("AUTHORS" "COPYING*" "INSTALL" "NEWS" "README*" "TRANSLATORS" "doc/*")
url=http://www.inkscape.org/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"inkscape (an Open Source vector graphics editor)"
"Inkscape is an Open Source vector graphics editor, with capabilities"
"similar to Illustrator, CorelDraw, or Xara X, using the W3C standard"
"Scalable Vector Graphics (SVG) file format. Inkscape supports many"
"advanced SVG features (markers, clones, alpha blending, etc.) and"
"great care is taken in designing a streamlined interface. It is very"
"easy to edit nodes, perform complex path operations, trace bitmaps and"
"much more. We also aim to maintain a thriving user and developer"
"community by using open, community-oriented development."
)


build() {
	cd $startdir/src/$pkgname-$pkgver
	
	# FS#43744
	mv ../markers_strokepaint.inx.disabled share/extensions/markers_strokepaint.inx
	
	# glibmm 2.46 uses C++11 features
	CXXFLAGS+=' -std=c++11'
	
	./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --mandir=/usr/man \
  --docdir=/usr/doc/$PRGNAM-$VERSION \
 --build=$arch-slackware-linux
	make || return 1
	make install DESTDIR=$startdir/pkg
}