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

# source: james
TARBALL=compton-81c677f28b9.tar.bz2
MD5SUM=a97bc763392840e4cad3ea6f4f580bb8
SRC_URL=http://distro.ibiblio.org/fatdog/source/700/$TARBALL
BUNDLE=

SLACKREQ='mesa libdrm libpcre' # asciidoc build-time only
SLACKDESC='compton: compton 2014.06 (X lightweight compositor)  
compton:  
compton: compton is a lightweight compositor for X windows. It it a fork of 
compton: xcompmgr-dana, which itself is a fork of the original xcompmgr.  
compton: 
compton: 
compton: 
compton: 
compton: 
compton: 
compton: https://github.com/chjj/compton
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/compton*
	BUILDFLAGS="NO_DBUS=1 NO_LIBCONFIG=1 COMPTON_VERSION=2014.06"
	make $MAKEFLAGS $BUILDFLAGS &&
	make $BUILDFLAGS install &&
	pkg_build_slackdesc &&
	
	# don't display it on the menu
	echo "NoDisplay=true" >> /usr/share/applications/compton.desktop
}
