### this file is sourced not run
PKGVER=1.8.5
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=meld-1.8.5.tar.xz
MD5SUM=36e84ea3d9547d3be8ebefef83673d42
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 1.8.5 (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/lib64 libdir_=/usr/lib64/meld \
		sharedir=/usr/share sharedir_=/usr/share/meld localedir=/usr/share/locale \
		localstatedir=/var install &&
	pkg_build_slackdesc
}
