summaryrefslogtreecommitdiff
path: root/desktop/i3/i3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/i3/i3.SlackBuild')
-rw-r--r--desktop/i3/i3.SlackBuild32
1 files changed, 16 insertions, 16 deletions
diff --git a/desktop/i3/i3.SlackBuild b/desktop/i3/i3.SlackBuild
index 31482f5cef..2ef8378428 100644
--- a/desktop/i3/i3.SlackBuild
+++ b/desktop/i3/i3.SlackBuild
@@ -7,7 +7,7 @@
# Updated by Marcin Herda <mherda@slackword.net>
# Cleaning up docs by ponce
# Copyright 2017 - 2018 Johannes Schoepfer, Germany
-# Updated by Emmanuel N. Millan, Argentina, 2019
+# Updated by Emmanuel N. Millan, Argentina, 2019 - 2022
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -29,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=i3
-VERSION=${VERSION:-4.18.3}
+VERSION=${VERSION:-4.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -74,7 +74,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,25 +83,23 @@ 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 {} \;
-autoreconf -fi
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
+ 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 \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -129,6 +127,8 @@ cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION/txt
rm i3-pod2html *.conf *.dia
)
+rm -r $PKG/usr/share/doc
+
cd AnyEvent-I3
perl Makefile.PL \