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

# source: james
TARBALL=emelfm2-0.9.1.tar.bz2
MD5SUM=ea83b73d76edf1cea5bce00ec630af6f
SRC_URL=http://emelfm2.net/rel/$TARBALL
BUNDLE=

SLACKREQ='gtk2' # liblzo compile-time only
SLACKDESC='emelfm2: emelfm2 0.9.1 (GTK2 File Manager)  
emelfm2:  
emelfm2: emelfm2 is a file manager for UNIX-like operating systems. It uses a 
emelfm2: simple and efficient interface pioneered by Norton Commander, in the 
emelfm2: 1980s. The main window is divided into three parts, described as 
emelfm2: "panes" or "panels". Two of those (side-by-side or top-to-bottom) 
emelfm2: show the contents of selected filesystem directories. The third pane, 
emelfm2: at the bottom of the window, shows the output of commands executed 
emelfm2: within the program.  
emelfm2: 
emelfm2: http://emelfm2.net/ 
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/emelfm2*
	BUILDFLAGS="PREFIX=/usr DOCS_VERSION=1 WITH_LATEST=1 USE_INOTIFY=1 LIB_DIR=/usr/lib64"
	make $MAKEFLAGS $BUILDFLAGS && make $BUILDFLAGS install &&
	pkg_build_slackdesc
}
