aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorRuben Schuller <code@rbn.im>2022-12-04 13:54:49 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-08 20:54:10 +0700
commitdfdf1108ceeca13cb814b6fd8c9fb9c9f5d68253 (patch)
tree4312a29f42b65ea4b66461d2041ecad9172f424f /libraries
parentf0c1defe86e034c6693a1726fb88b1b6b4717b5f (diff)
libraries/libvterm: Updated for version 0.3
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libvterm/libvterm.SlackBuild13
-rw-r--r--libraries/libvterm/libvterm.info6
2 files changed, 8 insertions, 11 deletions
diff --git a/libraries/libvterm/libvterm.SlackBuild b/libraries/libvterm/libvterm.SlackBuild
index b043857fd535a..2e51baccfacf1 100644
--- a/libraries/libvterm/libvterm.SlackBuild
+++ b/libraries/libvterm/libvterm.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libvterm
-# Copyright 2021 Ruben Schuller <sb@rbn.im>
+# Copyright 2021-2022 Ruben Schuller <sb@rbn.im>
# Copyright 2015-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
@@ -26,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libvterm
-VERSION=${VERSION:-0.1.4}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.3}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +39,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -82,6 +79,8 @@ find -L . \
make install PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG
+rm -f $PKG/usr/lib*/*.la
+
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
@@ -91,8 +90,6 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -f $PKG/usr/lib*/*.la
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/libvterm/libvterm.info b/libraries/libvterm/libvterm.info
index dba954a6947a1..2e99a2b9751e2 100644
--- a/libraries/libvterm/libvterm.info
+++ b/libraries/libvterm/libvterm.info
@@ -1,8 +1,8 @@
PRGNAM="libvterm"
-VERSION="0.1.4"
+VERSION="0.3"
HOMEPAGE="http://www.leonerd.org.uk/code/libvterm/"
-DOWNLOAD="http://www.leonerd.org.uk/code/libvterm/libvterm-0.1.4.tar.gz"
-MD5SUM="3bf5bbb91cd99adc523a954b10005511"
+DOWNLOAD="http://www.leonerd.org.uk/code/libvterm/libvterm-0.3.tar.gz"
+MD5SUM="589034cdeec5d587d9a32eb10fc58022"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""