summaryrefslogtreecommitdiff
path: root/desktop/i3status/i3status.SlackBuild
diff options
context:
space:
mode:
authorMarcin Herda <mherda@slackword.net>2014-06-23 08:17:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-23 08:17:17 +0700
commitb96becc5ad9d87141ac6d9effac7be1f1edbaf5b (patch)
tree0e6b293abb78743c3a1b48d355ec9d1e85259630 /desktop/i3status/i3status.SlackBuild
parentd165a2a4675a102627f8bd264221613c145ab772 (diff)
downloadslackbuilds-b96becc5ad9d87141ac6d9effac7be1f1edbaf5b.tar.gz
desktop/i3status: Updated for version 2.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/i3status/i3status.SlackBuild')
-rw-r--r--desktop/i3status/i3status.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/desktop/i3status/i3status.SlackBuild b/desktop/i3status/i3status.SlackBuild
index b519286782..ad852d2f22 100644
--- a/desktop/i3status/i3status.SlackBuild
+++ b/desktop/i3status/i3status.SlackBuild
@@ -6,7 +6,7 @@
# Updated by Marcin Herda (mherda@slackword.net)
PRGNAM=i3status
-VERSION=${VERSION:-2.7}
+VERSION=${VERSION:-2.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,17 +47,17 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
LDFLAGS="-lm" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
# Don't clobber the config file