accessibility/xsel: Updated for version 1.2.1.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-05-10 02:32:27 -04:00 committed by Willy Sudiarto Raharjo
parent c0c5f44177
commit 2d15f91dba
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 13 additions and 16 deletions

View file

@ -7,13 +7,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20230510 bkw: update for v1.2.1 (and include ICCCM rant in doc dir).
# 20221226 bkw: BUILD=2, do not install useless INSTALL in doc dir.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xsel
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-2}
VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -60,13 +61,9 @@ 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 {} \+
# 20201027 bkw: fixes build on -current. I *despise* people who leave
# -Werror in released code: it means they don't care if it works on
# anyone else's compiler but the specific version they use. Grr.
sed -i 's,-Werror,,g' configure
autoreconf -if
CFLAGS="$SLKCFLAGS -Wno-error=stringop-truncation" \
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@ -81,11 +78,11 @@ make install-strip DESTDIR=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# 20230510 bkw: rant.txt included, because it amuses me.
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
cp -a AUTHORS COPYING ChangeLog README rant.txt $PKGDOC
cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="xsel"
VERSION="1.2.0"
VERSION="1.2.1"
HOMEPAGE="https://vergenet.net/~conrad/software/xsel/"
DOWNLOAD="https://vergenet.net/~conrad/software/xsel/download/xsel-1.2.0.tar.gz"
MD5SUM="75983f143ce83dc259796c6eaf85c8f5"
DOWNLOAD="https://github.com/kfish/xsel/archive/1.2.1/xsel-1.2.1.tar.gz"
MD5SUM="a11b94ec0d664eca48d38cf6f4dea356"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""