diff options
Diffstat (limited to 'system/veracrypt')
-rw-r--r-- | system/veracrypt/veracrypt.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/system/veracrypt/veracrypt.SlackBuild b/system/veracrypt/veracrypt.SlackBuild index b9e6c430d9f01..530c4fa8fbe03 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 |