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>
This commit is contained in:
B. Watson 2022-02-09 15:46:13 -05:00 committed by Willy Sudiarto Raharjo
parent 76ff08796a
commit 78eb960edd
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 11 additions and 10 deletions

View file

@ -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

View file

@ -1,8 +1,8 @@
PRGNAM="veracrypt"
VERSION="1.22"
VERSION="1.25.7"
HOMEPAGE="https://www.veracrypt.fr/"
DOWNLOAD="https://launchpad.net/veracrypt/trunk/1.22/+download/VeraCrypt_1.22_Source.tar.bz2"
MD5SUM="54dd43d2d9155cf54504dbc57984e822"
DOWNLOAD="https://launchpad.net/veracrypt/trunk/1.25.7/+download/VeraCrypt_1.25.7_Source.tar.bz2"
MD5SUM="0a874ac3d109974de33cf10c9860b03f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxGTK3 makeself"