diff options
author | Pierre Cazenave <pwcazenave at gmail {dot} com> | 2010-08-13 07:11:18 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-08-14 19:04:49 -0500 |
commit | 72948825a992355155f43d1d81f36e0da4c41aa2 (patch) | |
tree | c405d13ab5f9b9a17e18c76a9a6643eed3cf978d /system/truecrypt/truecrypt.SlackBuild | |
parent | d5ec11ec51c0e744d4d8d2d0b2e138092b887d2b (diff) | |
download | slackbuilds-72948825a992355155f43d1d81f36e0da4c41aa2.tar.gz |
system/truecrypt: Updated for version 7.0.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/truecrypt/truecrypt.SlackBuild')
-rw-r--r-- | system/truecrypt/truecrypt.SlackBuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/system/truecrypt/truecrypt.SlackBuild b/system/truecrypt/truecrypt.SlackBuild index ac79ec69e1..719bc27c68 100644 --- a/system/truecrypt/truecrypt.SlackBuild +++ b/system/truecrypt/truecrypt.SlackBuild @@ -28,8 +28,16 @@ PRGNAM=truecrypt SRCNAM=TrueCrypt -VERSION=${VERSION:-6.3a} -ARCH=${ARCH:-i486} +VERSION=${VERSION:-7.0} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -75,7 +83,7 @@ export CFLAGS="$SLKCFLAGS" make mkdir -p $PKG/usr/bin -cp Main/truecrypt $PKG/usr/bin +install -m 755 Main/truecrypt $PKG/usr/bin mkdir -p $PKG/usr/share/{applications,pixmaps} cp $CWD/truecrypt.png $PKG/usr/share/pixmaps/ |