summaryrefslogtreecommitdiff
path: root/source/a/cryptsetup
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/cryptsetup')
-rwxr-xr-xsource/a/cryptsetup/cryptsetup.SlackBuild13
1 files changed, 11 insertions, 2 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