diff options
author | Thomas Szteliga <ts@websafe.pl> | 2016-10-20 21:04:11 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-10-20 21:04:11 +0700 |
commit | 1183627c8b15fd54187760c26c592f06a891e8de (patch) | |
tree | ddca8602bebb53a9e91c9fe57d877bad35c5ac97 | |
parent | 51262fd7287132cda4e55df300a674413f332ddb (diff) | |
download | slackbuilds-1183627c8b15fd54187760c26c592f06a891e8de.tar.gz |
system/veracrypt: Updated for version 1.19.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/veracrypt/doinst.sh | 8 | ||||
-rw-r--r-- | system/veracrypt/veracrypt.SlackBuild | 12 | ||||
-rw-r--r-- | system/veracrypt/veracrypt.info | 6 |
3 files changed, 18 insertions, 8 deletions
diff --git a/system/veracrypt/doinst.sh b/system/veracrypt/doinst.sh index 5fb28930db..5934a15ab1 100644 --- a/system/veracrypt/doinst.sh +++ b/system/veracrypt/doinst.sh @@ -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 diff --git a/system/veracrypt/veracrypt.SlackBuild b/system/veracrypt/veracrypt.SlackBuild index b45b61b534..950da35989 100644 --- a/system/veracrypt/veracrypt.SlackBuild +++ b/system/veracrypt/veracrypt.SlackBuild @@ -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 diff --git a/system/veracrypt/veracrypt.info b/system/veracrypt/veracrypt.info index 2ce341902f..489d907e18 100644 --- a/system/veracrypt/veracrypt.info +++ b/system/veracrypt/veracrypt.info @@ -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" |