mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/veracrypt: Updated for version 1.19.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
51262fd728
commit
1183627c8b
3 changed files with 18 additions and 8 deletions
|
@ -1,3 +1,9 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
/usr/bin/update-desktop-database -q usr/share/applications
|
||||
fi
|
||||
|
||||
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -23,10 +23,10 @@
|
|||
# THE SOFTWARE.
|
||||
|
||||
PRGNAM=veracrypt
|
||||
VERSION=${VERSION:-1.18a}
|
||||
VERSION=${VERSION:-1.19}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
SRCNAM=VeraCrypt_1.18_Source.tar.bz2
|
||||
SRCNAM=VeraCrypt_${VERSION}_Source.tar.gz
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
|
@ -62,8 +62,10 @@ mkdir -p $TMP $PKG $OUTPUT
|
|||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
mkdir $PRGNAM-$VERSION
|
||||
tar xvf $CWD/${SRCNAM} -C $PRGNAM-$VERSION
|
||||
cd $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
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||
|
@ -72,6 +74,8 @@ find -L . \
|
|||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
cd src
|
||||
# Fixing the Makefile, check: https://veracrypt.codeplex.com/workitem/567
|
||||
sed -i Makefile -e 's/export CFLAGS := -Wall/export CFLAGS := -Wall -maes/g'
|
||||
make
|
||||
cp -av Setup/Linux/usr $PKG
|
||||
rm -f $PKG/usr/bin/veracrypt-uninstall.sh
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="veracrypt"
|
||||
VERSION="1.18a"
|
||||
VERSION="1.19"
|
||||
HOMEPAGE="https://veracrypt.codeplex.com/"
|
||||
DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/veracrypt/VeraCrypt_1.18_Source.tar.bz2"
|
||||
MD5SUM="1d335bd88e68dfe68fa0d8ea1307a3cf"
|
||||
DOWNLOAD="https://sourceforge.net/projects/veracrypt/files/VeraCrypt%201.19/VeraCrypt_1.19_Source.tar.gz"
|
||||
MD5SUM="7a68365eda0ee9b76348ffca58bc733c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="wxGTK3 makeself"
|
||||
|
|
Loading…
Reference in a new issue