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

# source: james
TARBALL=Xdialog-2015.08.tar.bz2
MD5SUM=9951564c230e79f39035c89b8e582ba8
SRC_URL=http://distro.ibiblio.org/fatdog/source/700/$TARBALL
BUNDLE=

SLACKREQ='gtk2'
SLACKDESC='xdialog: xdialog 2.3.1 (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: 
xdialog:
'

### 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
}


