aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel N. Millán <emmanueln@gmail.com>2024-11-13 17:52:46 -0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-11-16 16:41:05 +0700
commit2055f4cf2b46f4c2566455dd90eeb812e920116c (patch)
tree5b59e0c6e639034985f173b99e780df37424202b
parent2c94c6117f497a73e2134dd014b59cc015a7ad1f (diff)
desktop/i3: Updated for version 4.24.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/i3/i3.SlackBuild15
-rw-r--r--desktop/i3/i3.info6
2 files changed, 11 insertions, 10 deletions
diff --git a/desktop/i3/i3.SlackBuild b/desktop/i3/i3.SlackBuild
index 62c3415de5..df6d5d10a4 100644
--- a/desktop/i3/i3.SlackBuild
+++ b/desktop/i3/i3.SlackBuild
@@ -29,7 +29,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=i3
-VERSION=${VERSION:-4.23}
+VERSION=${VERSION:-4.24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -82,7 +82,6 @@ find -L . \
-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 {} \;
-
mkdir -p build
( cd build
@@ -91,15 +90,13 @@ mkdir -p build
--prefix /usr \
--libdir /usr/lib$LIBDIRSUFFIX \
--mandir /usr/man \
- --sysconfdir /etc \
+ --sysconfdir /etc \
--localstatedir /var \
..
- CFLAGS="$SLKCFLAGS" ninja
+ 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
@@ -137,7 +134,11 @@ perl Makefile.PL \
INSTALLVENDORMAN1DIR=/usr/man/man1 \
INSTALLVENDORMAN3DIR=/usr/man/man3
make
-make test
+
+if [ -n "$DISPLAY" ]; then
+ make test
+fi
+
make install DESTDIR=$PKG
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
diff --git a/desktop/i3/i3.info b/desktop/i3/i3.info
index ed5cd9bc25..59836cf20d 100644
--- a/desktop/i3/i3.info
+++ b/desktop/i3/i3.info
@@ -1,8 +1,8 @@
PRGNAM="i3"
-VERSION="4.23"
+VERSION="4.24"
HOMEPAGE="https://www.i3wm.org"
-DOWNLOAD="https://i3wm.org/downloads/i3-4.23.tar.xz"
-MD5SUM="ea71162d40b403b6098fe833697b747a"
+DOWNLOAD="https://i3wm.org/downloads/i3-4.24.tar.xz"
+MD5SUM="239a821e091e383fb0e3981eac6f8ae9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="dmenu libev xcb-util-xrm yajl perl-JSON-XS perl-AnyEvent"