diff options
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 ac79ec69e14f2..719bc27c685a0 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/ |