summaryrefslogtreecommitdiff
path: root/system/veracrypt/veracrypt.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/veracrypt/veracrypt.SlackBuild')
-rw-r--r--system/veracrypt/veracrypt.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/system/veracrypt/veracrypt.SlackBuild b/system/veracrypt/veracrypt.SlackBuild
index 950da35989..58ccb41612 100644
--- a/system/veracrypt/veracrypt.SlackBuild
+++ b/system/veracrypt/veracrypt.SlackBuild
@@ -23,10 +23,11 @@
# THE SOFTWARE.
PRGNAM=veracrypt
-VERSION=${VERSION:-1.19}
+VERSION=${VERSION:-git_5103f19e}
+GITVER=5103f19eab5b51e3ef2d21bb4f6035925b6698d4
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=VeraCrypt_${VERSION}_Source.tar.gz
+SRCNAM=$PRGNAM-$GITVER.zip
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -62,10 +63,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
-# 1.19 tarball needs two steps, check: https://veracrypt.codeplex.com/workitem/566
-gunzip -f -k $CWD/${SRCNAM}
-tar xvf $CWD/$(basename ${SRCNAM} .gz) -C $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION/VeraCrypt-master-8220ae94c64722fbe39e92dfcfce84f8da96a91e
+cd $PRGNAM-$VERSION
+unzip $CWD/${SRCNAM}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \