summaryrefslogtreecommitdiff
path: root/desktop/i3status/i3status.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/i3status/i3status.SlackBuild')
-rw-r--r--desktop/i3status/i3status.SlackBuild27
1 files changed, 12 insertions, 15 deletions
diff --git a/desktop/i3status/i3status.SlackBuild b/desktop/i3status/i3status.SlackBuild
index dad30e254c..d70d7cb24f 100644
--- a/desktop/i3status/i3status.SlackBuild
+++ b/desktop/i3status/i3status.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=i3status
-VERSION=${VERSION:-2.13}
+VERSION=${VERSION:-2.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -72,7 +72,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -83,19 +83,16 @@ find -L . \
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
+ CFLAGS="$SLKCFLAGS" \
+ meson -Dmans=true \
+ --prefix /usr \
+ --libdir /usr/lib$LIBDIRSUFFIX \
+ --mandir /usr/man \
+ --sysconfdir /etc \
+ --localstatedir /var \
+ ..
+ CFLAGS="$SLKCFLAGS" ninja
+ DESTDIR=$PKG ninja install
)
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \