aboutsummaryrefslogtreecommitdiff
path: root/system/veracrypt/veracrypt.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-09 15:46:13 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-12 00:29:37 +0700
commit78eb960edde8c378f100c10603919a11a5273c07 (patch)
treee9874aeac30ff96d05894efe6e7a874e775fac12 /system/veracrypt/veracrypt.SlackBuild
parent76ff08796a8f4b1a4b8b3acebe727a389b984073 (diff)
system/veracrypt: Updated for version 1.25.7.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/veracrypt/veracrypt.SlackBuild')
-rw-r--r--system/veracrypt/veracrypt.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/system/veracrypt/veracrypt.SlackBuild b/system/veracrypt/veracrypt.SlackBuild
index 22ec7725cb20b..b9e6c430d9f01 100644
--- a/system/veracrypt/veracrypt.SlackBuild
+++ b/system/veracrypt/veracrypt.SlackBuild
@@ -22,10 +22,14 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
+# 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.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=veracrypt
-VERSION=${VERSION:-1.22}
+VERSION=${VERSION:-1.25.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +42,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -82,7 +83,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd src
-make
+make WX_CONFIG=/usr/lib$LIBDIRSUFFIX/wx/config/gtk3-unicode-3.0
make package
cp -av Setup/Linux/usr $PKG
rm -f $PKG/usr/bin/veracrypt-uninstall.sh
@@ -92,9 +93,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- $PKG/usr/share/veracrypt/doc/* \
+ $PKG/usr/share/doc/veracrypt/* \
$PKG/usr/doc/$PRGNAM-$VERSION
-rm -rf $PKG/usr/share/veracrypt
+rm -rf $PKG/usr/share/doc/veracrypt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install