aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorEmmanuel N. Millan <emmanueln@gmail.com>2019-08-24 07:10:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-24 07:10:31 +0700
commitbf76f18c3c2a4c36a0c3c1869141ad4b9bd5f059 (patch)
treedefc2772a625a6f923f4a46f12d0eb4e8bc83bef /desktop
parent04fe278825922c2910705a18e090f3f87b1cf421 (diff)
desktop/i3status: Updated for version 2.13.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/i3status/i3status.SlackBuild24
-rw-r--r--desktop/i3status/i3status.info8
2 files changed, 21 insertions, 11 deletions
diff --git a/desktop/i3status/i3status.SlackBuild b/desktop/i3status/i3status.SlackBuild
index 0e5a0ceb2ef12..a8304c705a6c5 100644
--- a/desktop/i3status/i3status.SlackBuild
+++ b/desktop/i3status/i3status.SlackBuild
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=i3status
-VERSION=${VERSION:-2.12}
+VERSION=${VERSION:-2.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,10 +71,22 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
-LDFLAGS="-lm" \
-make
-make install DESTDIR=$PKG
+mkdir -p build
+( cd build
+ CFLAGS="$SLKCFLAGS" \
+ ../configure \
+ --prefix=/usr \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --build=$ARCH-slackware-linux
+
+ # V=1 makes build verbose
+ CFLAGS="$SLKCFLAGS" make V=1
+ make install-strip DESTDIR=$PKG
+)
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
@@ -82,8 +94,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
# Don't clobber the config file
mv $PKG/etc/i3status.conf $PKG/etc/i3status.conf.new
-mv $PKG/usr/share/man $PKG/usr/
-rmdir $PKG/usr/share
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/desktop/i3status/i3status.info b/desktop/i3status/i3status.info
index e9793fa27bc8f..93a5daf105918 100644
--- a/desktop/i3status/i3status.info
+++ b/desktop/i3status/i3status.info
@@ -1,10 +1,10 @@
PRGNAM="i3status"
-VERSION="2.12"
+VERSION="2.13"
HOMEPAGE="https://i3wm.org/i3status/"
-DOWNLOAD="https://i3wm.org/i3status/i3status-2.12.tar.bz2"
-MD5SUM="ed839f1626781aaca236b46693fab975"
+DOWNLOAD="https://i3wm.org/i3status/i3status-2.13.tar.bz2"
+MD5SUM="dd9001fb9ed732142d4d7194b77486cf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="confuse yajl"
MAINTAINER="Emmanuel N. Millan"
-EMAIL="emmanueln[at]gmail[dot]com"
+EMAIL="emmanueln@gmail.com"