### this file is sourced not run
PKGVER=1.8.6 # final GTK2 version
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=meld-$PKGVER.tar.xz
MD5SUM=872e6c28a7913f1eab1cacf27d6d1e5a
SRC_URL=http://ftp.gnome.org/pub/GNOME/sources/meld/1.8/$TARBALL
BUNDLE=

SLACKREQ='python python-pygtk python-pygobject python-pygtksourceview' # 
SLACKDESC="meld: meld $PKGVER (Graphical diff merge tool)  
meld:  
meld: Meld is a visual diff and merge tool targeted at developers. Meld helps 
meld: you compare files, directories, and version controlled projects. It 
meld: provides two- and three-way comparison of both files and directories, 
meld: and has support for many popular version control systems. Meld helps you 
meld: review code changes and understand patches. It might even help you to 
meld: figure out what is going on in that merge you keep avoiding.  
meld: 
meld: 
meld:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/meld*
	
	# disable help, update mime and update desktop
	sed -i -e '/$(MAKE) -C help/d; /update_mime_database/d; /update_desktop_database/d' Makefile && 
	#make prefix=/usr libdir=/usr/$LIBDIR libdir_=/usr/$LIBDIR/meld \
	#	sharedir=/usr/share sharedir_=/usr/share/meld localedir=/usr/share/locale \
	#	localstatedir=/var install &&
	make prefix=/usr localstatedir=/var install &&
	pkg_build_slackdesc
}
