### this file is sourced not run

### modified from "feh" package
PKGVER=3.1.3
TARBALL=feh-$PKGVER.tar.bz2
MD5SUM=8aad58758fb9e0a0a4b10d58aa8853d7
SRC_URL=https://feh.finalrewind.org/$TARBALL
BUNDLE=

SLACKDESC="feh-minimal: feh-minimal $PKGVER (X11 image viewer)
feh-minimal: 
feh-minimal: This is a minimal build of feh with most features stripped out. Used 
feh-minimal: for boot time splash. If you want the full-featured one, look for 
feh-minimal: 'feh' package instead.
feh-minimal: 
feh-minimal: http://feh.finalrewind.org
feh-minimal: 
feh-minimal: 
feh-minimal: 
feh-minimal:
"
SLACKREQ='imlib2 libpng libX11 libXinerama'
SLACKCON=

### default pkg_download
### default pkgـprepare
### default pkg_package
### build
pkg_build() {
 #Available flags:
 # * cam      (default 0) - install deprecated feh-cam and gen-cam-menu scripts
 # * curl     (default 1) - use libcurl to view http:// and similar images
 # * debug    (default 0) - debug build, enables --debug
 # * exif     (default 0) - Builtin EXIF tag display support
 # * help     (default 0) - include help text (refers to the manpage otherwise)
 # * stat64   (default 0) - Support CIFS shares from 64bit hosts on 32bit machines
 # * xinerama (default 1) - Support Xinerama/XRandR multiscreen setups

	cd /tmp/feh* &&
	PREFIX=/usr make curl=0 help=1 xinerama=1 build-src install-bin &&
	pkg_build_slackdesc
}

