### this file is sourced not run
PKGVER=2015.05
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=giv-2015.05.tar.bz2
MD5SUM=5f1efe12dda278c3ef6dd3a8204890d4
SRC_URL=http://distro.ibiblio.org/fatdog/source/700/$TARBALL
BUNDLE=

SLACKREQ='gtk2' # gob2 build-time only
SLACKDESC='giv: giv 2015.05 (Image viewer)
giv: 
giv: giv is a cross platform image and hierarchical vector viewer based. 
giv: It was designed especially for scientific vision and computational 
giv: geometry and has support for drawing vector graphics on top of the 
giv: image.
giv: 
giv: http://giv.sourceforge.net/giv/index.html
giv: 
giv: 
giv: 
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/giv*
	sed -i -e "s|/usr/local|/usr|; s|/lib/|/$LIBDIR/|" SConstruct &&
	sed -i -e 's|${PKGCONFIG}|env PKG_CONFIG_PATH=${PKG_CONFIG_PATH} &|' SConstruct &&
	scons install &&
	pkg_build_slackdesc
}
