aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-26 01:18:45 -0400
committerB. Watson <yalhcru@gmail.com>2022-04-29 10:30:54 -0400
commitb7eb65bd5c095cd58dd031f7ebdf45488468ef34 (patch)
tree4258ba5c16f42ae270e6d4225f35d7d7e48db2a1
parent0815ce41d31dd5b7d63db5e4df1356d13416d4eb (diff)
system/veracrypt: Remove empty /usr/share/doc dir.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--system/veracrypt/veracrypt.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/system/veracrypt/veracrypt.SlackBuild b/system/veracrypt/veracrypt.SlackBuild
index b9e6c430d9f0..530c4fa8fbe0 100644
--- a/system/veracrypt/veracrypt.SlackBuild
+++ b/system/veracrypt/veracrypt.SlackBuild
@@ -22,6 +22,9 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+# 20220426 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - don't include empty /usr/share/doc in package.
+
# 20220209 bkw: Modified by SlackBuilds.org: updated for v1.25.7 since
# the previous version wouldn't build on 15.0. Also, always use the
# correct wx-config version.
@@ -30,7 +33,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=veracrypt
VERSION=${VERSION:-1.25.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -78,9 +81,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
cd src
make WX_CONFIG=/usr/lib$LIBDIRSUFFIX/wx/config/gtk3-unicode-3.0
@@ -95,7 +98,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
$PKG/usr/share/doc/veracrypt/* \
$PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/doc/veracrypt
+rm -rf $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install