aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2023-07-27 14:39:11 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-29 08:13:37 +0700
commit87be8c7d66b6e570bb96858d78b7125bfa263b7f (patch)
tree4518e649256a0dcc6226ddbf5f96960bc6a44bfa /system
parent751a29568b055eb39cf9d6f9fb100a86bb2209a4 (diff)
system/kitty: Updated for version 0.29.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/kitty/kitty.SlackBuild20
-rw-r--r--system/kitty/kitty.info12
-rw-r--r--system/kitty/slack-desc2
3 files changed, 21 insertions, 13 deletions
diff --git a/system/kitty/kitty.SlackBuild b/system/kitty/kitty.SlackBuild
index 29a5ff685c11..2b175dd320f9 100644
--- a/system/kitty/kitty.SlackBuild
+++ b/system/kitty/kitty.SlackBuild
@@ -12,7 +12,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kitty
-VERSION=${VERSION:-0.26.5}
+VERSION=${VERSION:-0.29.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -56,6 +56,14 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
+
+if [ "$LIBDIRSUFFIX" = "64" ]
+then
+ tar xvf $CWD/go1.20.6.linux-amd64.tar.gz
+else
+ tar xvf $CWD/go1.20.6.linux-386.tar.gz
+fi
+
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
@@ -69,6 +77,9 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
sed -i 's,-O3,-O2,g' setup.py
+export GOROOT="$(readlink -f go)"
+export PATH="$GOROOT/bin:$PATH"
+
# The -Wl,-s makes the linker strip the binaries.
# --ignore-compiler-warnings is needed to turn off -Werror.
@@ -96,13 +107,8 @@ find $PKGDOC/html -type f -a -empty | xargs rm
cp -a CHANGELOG* CONTRIBUTING* README* LICENSE* $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
-# make slack-desc reflect the display types the package is built for
-L=$PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/$PRGNAM
-[ -e $L/glfw-x11.so ] && DISPLAYS+=" X11"
-[ -e $L/glfw-wayland.so ] && DISPLAYS+=" Wayland"
-
mkdir -p $PKG/install
-sed "s,@DISPLAYS@,$DISPLAYS," $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
diff --git a/system/kitty/kitty.info b/system/kitty/kitty.info
index b154bb6bb7aa..b829c27a3b90 100644
--- a/system/kitty/kitty.info
+++ b/system/kitty/kitty.info
@@ -1,10 +1,12 @@
PRGNAM="kitty"
-VERSION="0.26.5"
+VERSION="0.29.1"
HOMEPAGE="https://sw.kovidgoyal.net/kitty/"
-DOWNLOAD="https://github.com/kovidgoyal/kitty/releases/download/v0.26.5/kitty-0.26.5.tar.xz"
-MD5SUM="bee2a28eacda8e24a5da6bfb1986845a"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
+DOWNLOAD="https://download.dlackware.com/hosted-sources/kitty/kitty-0.29.1.tar.xz \
+ https://go.dev/dl/go1.20.6.linux-386.tar.gz"
+MD5SUM="a64347e439f6c225cb8c93607abbe8a7 \
+ 5057499e0fb33155926e2f4ec27ff97e"
+DOWNLOAD_x86_64="https://go.dev/dl/go1.20.6.linux-amd64.tar.gz"
+MD5SUM_x86_64="10202b09873d18080445d76412cf738b"
REQUIRES="librsync"
MAINTAINER="Eugen Wissner"
EMAIL="belka@caraus.de"
diff --git a/system/kitty/slack-desc b/system/kitty/slack-desc
index c48660175a9e..7d5c2b81a973 100644
--- a/system/kitty/slack-desc
+++ b/system/kitty/slack-desc
@@ -13,7 +13,7 @@ kitty: rendering to the GPU and supports modern terminal features. It also
kitty: supports tiling multiple terminal windows without using an extra
kitty: program like screen or tmux.
kitty:
-kitty: This package supports:@DISPLAYS@
+kitty: Homepage: https://sw.kovidgoyal.net/kitty/
kitty:
kitty:
kitty: