summaryrefslogtreecommitdiff
path: root/graphics/feh/feh.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <orbea@riseup.net>2019-07-16 04:43:14 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-20 16:20:31 +0700
commitb1ee4d5bc5401ee6de8ba88cfdde9c909c488043 (patch)
treeffd1c8c5252f41fbf332944a608fa847e9ed28fe /graphics/feh/feh.SlackBuild
parent6e8bcda2e62dff7c34b6e8d7e34900335fe38535 (diff)
downloadslackbuilds-b1ee4d5bc5401ee6de8ba88cfdde9c909c488043.tar.gz
graphics/feh: Updated for version 3.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 \