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

# source: james
TARBALL=Xdialog-$PKGVER.tar.bz2
MD5SUM=fe5c128e16ec36669c00a64d7fbab9fa
SRC_URL=http://distro.ibiblio.org/fatdog/source/710/$TARBALL
BUNDLE=

SLACKREQ='gtk2'
SLACKDESC="xdialog: xdialog 2.3.1-$PKGVER (UI for shell scripts)  
xdialog:  
xdialog: Xdialog is designed to be a drop in replacement for the \"dialog\" or 
xdialog: \"cdialog\" programs. It converts any terminal based program into a 
xdialog: program with an X-windows interface. The dialogs are easier to see 
xdialog: and use while adding even more functionalities (e.g. with the 
xdialog: treeview, the file selector, the edit box, the range box, the help 
xdialog: button/box).  
xdialog: 
xdialog: This a patched version from
xdialog: http://chiselapp.com/user/jamesbond/repository/xdialog/index
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --with-gtk2"
	pkg_build_autoconf && pkg_build_slackdesc &&
	
	# install additional docs and bins
	cp -a samples /usr/share/doc/Xdialog-2.3.1 &&
	install -m 755 /tmp/pkg/g*sel /usr/bin
}


