summaryrefslogtreecommitdiffstats
path: root/source/a/e2fsprogs/e2fsprogs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/e2fsprogs/e2fsprogs.SlackBuild')
-rwxr-xr-xsource/a/e2fsprogs/e2fsprogs.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/source/a/e2fsprogs/e2fsprogs.SlackBuild b/source/a/e2fsprogs/e2fsprogs.SlackBuild
index c3e6df1ea..afe17b857 100755
--- a/source/a/e2fsprogs/e2fsprogs.SlackBuild
+++ b/source/a/e2fsprogs/e2fsprogs.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2015, 2016, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2015, 2016, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=e2fsprogs
VERSION=${VERSION:-$(echo e2fsprogs*.tar.?z | cut -d - -f 2 | rev | cut -f 3- -d . | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -202,6 +202,13 @@ cp -a ext2ed/README $PKG/usr/doc/e2fsprogs-$VERSION/README.ext2ed
cp -a lib/uuid/COPYING $PKG/usr/doc/e2fsprogs-$VERSION/COPYING.uuid
chmod 644 $PKG/usr/doc/e2fsprogs-$VERSION/*
+# If RELEASE-NOTES is a symlink, fix that:
+if [ -L $PKG/usr/doc/e2fsprogs-$VERSION/RELEASE-NOTES ]; then
+ rm $PKG/usr/doc/e2fsprogs-$VERSION/RELEASE-NOTES
+ cp -a $(readlink RELEASE-NOTES) $PKG/usr/doc/e2fsprogs-$VERSION/RELEASE-NOTES
+ chmod 644 $PKG/usr/doc/e2fsprogs-$VERSION/RELEASE-NOTES
+fi
+
# Trim RELEASE-NOTES to only include recent history:
if [ -r RELEASE-NOTES ]; then
DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION)