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

# source: james
TARBALL=imagination-$PKGVER.tar.gz
MD5SUM=798bcb72a939f5c6c48801fd0442f1b3
SRC_URL=http://downloads.sourceforge.net/imagination/$TARBALL
BUNDLE=

SLACKREQ='gtk3 ffmpeg sox'
SLACKDESC="imagination: imagination $PKGVER (Video slideshow maker)  
imagination:  
imagination: Imagination is a lightweight and simple DVD slide show maker for 
imagination: Linux and FreeBSD written in C language and built with the GTK+2 
imagination: toolkit. It takes your images, add various effects and 
imagination: annotation, and produces a smooth-running video. Imagination has 
imagination: been designed from the ground up to be fast, light and 
imagination: easy-to-use.  
imagination: 
imagination: http://imagination.sourceforge.net/
imagination: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	export LIBS="-lgmodule-2.0 -lm"
	pkg_build_autoconf &&
	pkg_build_slackdesc && 
	
	# build wrapper
	#mv /usr/bin/imagination /usr/bin/imagination.bin &&
	#install -m644 /tmp/pkg/imagination-wrapper.sh /usr/bin/imagination &&

	# remove cache
	rm -f /usr/share/icons/*/icon-theme.cache &&
	true
}
