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

# source: james
TARBALL=xfe-$PKGVER.tar.xz
MD5SUM=2e3854b828bace517330751d66372e1e
SRC_URL=http://downloads.sourceforge.net/xfe/$TARBALL
BUNDLE=

SLACKREQ='fox-toolkit >= 1.6.53'
SLACKDESC="xfe: xfe $PKGVER (File Manager)  
xfe:  
xfe: X File Explorer (Xfe) is an MS-Explorer or Commander like file manager 
xfe: for X. Xfe is small and very fast, and depends only on fox-toolkit.
xfe: 
xfe: http://roland65.free.fr/xfe/ 
xfe: 
xfe: 
xfe: 
xfe: 
xfe: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --enable-minimalflags"
	cd /tmp/xfe*
	
	# disable root_warn by default
	sed -i -e 's|"OPTIONS","root_warn",TRUE|"OPTIONS","root_warn",FALSE|' \
		src/Preferences.cpp src/XFileExplorer.cpp &&
	
	autoreconf -fi &&
	pkg_build_autoconf &&
	pkg_build_slackdesc
}


