summaryrefslogtreecommitdiff
path: root/graphics/feh/feh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/feh/feh.SlackBuild')
-rw-r--r--graphics/feh/feh.SlackBuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/graphics/feh/feh.SlackBuild b/graphics/feh/feh.SlackBuild
index d23b06a77e..82887c810b 100644
--- a/graphics/feh/feh.SlackBuild
+++ b/graphics/feh/feh.SlackBuild
@@ -24,7 +24,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=feh
-VERSION=${VERSION:-3.1.3}
+VERSION=${VERSION:-3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,6 +62,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+chmod 0755 $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,9 +71,18 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+[ "${EXIF:=0}" != 0 ] && EXIF=1
+[ "${HELP:=0}" != 0 ] && HELP=1
+[ "${INOTIFY:=0}" != 0 ] && INOTIFY=1
+[ "${STAT64:=0}" != 0 ] && STAT64=1
+
CFLAGS="$SLKCFLAGS" \
make \
- PREFIX=/usr
+ PREFIX=/usr \
+ exif=$EXIF \
+ help=$HELP \
+ inotify=$INOTIFY \
+ stat64=$STAT64
make install \
DESTDIR=$PKG \