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

# source: james
TARBALL=tkdiff-5-2-1.zip
MD5SUM=fc7070737eb2ebacefae92c5b514608e
SRC_URL=http://downloads.sourceforge.net/tkdiff/$TARBALL
BUNDLE=

SLACKREQ='tk'
SLACKDESC="tkdiff: tkdiff $PKGVER (Graphical diff tool)
tkdiff: 
tkdiff: tkdiff is a graphical front end to the diff program. It provides a 
tkdiff: side-by-side view of the differences between two text files, along 
tkdiff: with several innovative features such as diff bookmarks, a graphical 
tkdiff: map of differences for quick navigation, and a facility for slicing 
tkdiff: diff regions to achieve exactly the merge output desired.
tkdiff: 
tkdiff: https://sourceforge.net/projects/tkdiff/
tkdiff: 
tkdiff: 
"

### default pkg_download
### prepare
pkg_prepare() {
	if pkg_check $SRC_DIR $TARBALL $MD5SUM; then
		echo extracting $TARBALL ...
		unzip $SRC_DIR/$TARBALL -d tmp
	else
		return 1
	fi
}

### default pkg_package
### build
pkg_build() {
	cd /tmp/tkdiff* &&
	install -m 755 tkdiff /usr/bin &&	
	pkg_build_slackdesc
}


