summaryrefslogtreecommitdiffstats
path: root/desktop/i3/i3.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/i3/i3.SlackBuild')
-rw-r--r--desktop/i3/i3.SlackBuild34
1 files changed, 17 insertions, 17 deletions
diff --git a/desktop/i3/i3.SlackBuild b/desktop/i3/i3.SlackBuild
index 31482f5cef..62c3415de5 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 - 2024
#
# 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.23}
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
@@ -126,9 +124,11 @@ cp -a DEPENDS LICENSE RELEASE-NOTES-* $PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs/* $PKG/usr/doc/$PRGNAM-$VERSION/txt
( cd $PKG/usr/doc/$PRGNAM-$VERSION/txt
mv *.html *.png *.css ../html/
- rm i3-pod2html *.conf *.dia
+ rm -rf i3-pod2html *.conf *.dia
)
+rm -fr $PKG/usr/share/doc
+
cd AnyEvent-I3
perl Makefile.PL \