summaryrefslogtreecommitdiffstats
path: root/system/lxterminal/lxterminal.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/lxterminal/lxterminal.SlackBuild')
-rw-r--r--system/lxterminal/lxterminal.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/system/lxterminal/lxterminal.SlackBuild b/system/lxterminal/lxterminal.SlackBuild
index 8fc4a29be0..6f4515229e 100644
--- a/system/lxterminal/lxterminal.SlackBuild
+++ b/system/lxterminal/lxterminal.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# $Id: lxterminal.SlackBuild,v 1.6 2009/09/11 10:43:05 root Exp root $
# Copyright (c) 2008-2009 Eric Hameleers, Eindhoven, NL
-# Copyright (c) 2010-2021 Matteo Bernardini, Pisa, IT
+# Copyright (c) 2010-2024 Matteo Bernardini, Pisa, IT
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -69,6 +69,8 @@
# * Update.
# 0.4.0: 10/apr/2021 by Matteo Bernardini <ponce@slackbuilds.org>
# * Update.
+# 0.4.0-2: 24/apr/2024 by Matteo Bernardini <ponce@slackbuilds.org>
+# * Switch to gtk+3.
#
# Run 'sh lxterminal.SlackBuild' to build a Slackware package.
# The package is created in /tmp .
@@ -80,7 +82,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lxterminal
VERSION=${VERSION:-0.4.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -92,9 +94,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
@@ -118,7 +117,7 @@ else
LIBDIRSUFFIX=""
fi
-gtk3="" ; [ "${GTK3:-no}" = "yes" ] && gtk3="--enable-gtk3"
+gtk3="--enable-gtk3" ; [ "${GTK3:-yes}" = "no" ] && gtk3=""
DOCS="AUTHORS COPYING ChangeLog NEWS"
@@ -158,7 +157,6 @@ make install-strip DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-# Add documentation:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild