From 2d15f91dba36e66e835aad471970681991a2e6b9 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 10 May 2023 02:32:27 -0400 Subject: accessibility/xsel: Updated for version 1.2.1. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- accessibility/xsel/xsel.SlackBuild | 23 ++++++++++------------- accessibility/xsel/xsel.info | 6 +++--- 2 files changed, 13 insertions(+), 16 deletions(-) (limited to 'accessibility') diff --git a/accessibility/xsel/xsel.SlackBuild b/accessibility/xsel/xsel.SlackBuild index 6e7c389590..16275c10f1 100644 --- a/accessibility/xsel/xsel.SlackBuild +++ b/accessibility/xsel/xsel.SlackBuild @@ -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 diff --git a/accessibility/xsel/xsel.info b/accessibility/xsel/xsel.info index 0239943c33..9e5efb9883 100644 --- a/accessibility/xsel/xsel.info +++ b/accessibility/xsel/xsel.info @@ -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="" -- cgit v1.2.3