diff options
Diffstat (limited to 'source/a')
-rwxr-xr-x | source/a/cryptsetup/cryptsetup.SlackBuild | 13 | ||||
-rwxr-xr-x | source/a/sdparm/sdparm.SlackBuild | 2 | ||||
-rw-r--r-- | source/a/sdparm/sdparm.url | 1 |
3 files changed, 13 insertions, 3 deletions
diff --git a/source/a/cryptsetup/cryptsetup.SlackBuild b/source/a/cryptsetup/cryptsetup.SlackBuild index 60f1eaf9..61e58189 100755 --- a/source/a/cryptsetup/cryptsetup.SlackBuild +++ b/source/a/cryptsetup/cryptsetup.SlackBuild @@ -1,7 +1,7 @@ #!/bin/bash # Copyright (c) 2007, 2009, 2010 Eric Hameleers <alien@slackware.com> -# Copyright (c) 2007, 2009, 2010, 2015, 2017, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright (c) 2007, 2009, 2010, 2015, 2017, 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -36,7 +36,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=cryptsetup VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -134,6 +134,15 @@ cp -a \ AUTHORS COPYING* INSTALL NEWS README* TODO FAQ \ $PKG/usr/doc/$PKGNAM-$VERSION +# Convert pdf files to text. We do not package bloated PDFs. +( cd docs + for file in *.pdf ; do + pdftotext $file + done +) +cp -a docs/*.txt $PKG/usr/doc/$PKGNAM-$VERSION +cp -a docs/v${VERSION}-ReleaseNotes $PKG/usr/doc/$PKGNAM-$VERSION + # If there's a ChangeLog, installing at least part of the recent history # is useful, but don't let it get totally out of control: if [ -r ChangeLog ]; then diff --git a/source/a/sdparm/sdparm.SlackBuild b/source/a/sdparm/sdparm.SlackBuild index 6bd5e3c2..e330eb2d 100755 --- a/source/a/sdparm/sdparm.SlackBuild +++ b/source/a/sdparm/sdparm.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=sdparm VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} diff --git a/source/a/sdparm/sdparm.url b/source/a/sdparm/sdparm.url new file mode 100644 index 00000000..52866bdb --- /dev/null +++ b/source/a/sdparm/sdparm.url @@ -0,0 +1 @@ +http://sg.danny.cz/sg/sdparm.html |