mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
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:
parent
c0c5f44177
commit
2d15f91dba
2 changed files with 13 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue