PKGBUILDs/extra/truecrypt/PKGBUILD
2009-10-09 21:23:22 -05:00

37 lines
1.4 KiB
Bash

# $Id: PKGBUILD 51749 2009-09-10 20:21:18Z ronald $
# Maintainer: Paul Mattal <paul.archlinux.org>
pkgname=truecrypt
pkgver=6.2a
pkgrel=2
pkgdesc="Free open-source cross-platform disk encryption software"
url="http://www.truecrypt.org/"
arch=('i686' 'x86_64')
license=('custom') # TrueCrypt License v2.6
depends=('fuse>=2.8.0' 'wxgtk>=2.8.9' 'libsm' 'device-mapper')
optdepends=('sudo: mounting encrypted volumes as nonroot users')
conflicts=('truecrypt-utils')
replaces=('truecrypt-utils')
options=('force')
# N.B. Truecrypt's web-based source download is incompatible with
# makepkg. Source has been placed on ftp.archlinux.org instead
source=("ftp://ftp.archlinux.org/other/tc/${pkgname}-${pkgver}.tar.gz" \
'ftp://ftp.archlinux.org/other/tc/pkcs-2.20.tar.gz' \
'http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.9.tar.bz2')
build() {
export PKCS11_INC="${srcdir}/pkcs-2.20"
cd ${srcdir}/${pkgname}-${pkgver}-source || return 1
make WX_ROOT=${srcdir}/wxWidgets-2.8.9 wxbuild || return 1
make || return 1
# Install Binary
install -D -m755 Main/${pkgname} ${pkgdir}/usr/bin/${pkgname} || return 1
# Install License
install -D -m644 License.txt ${pkgdir}/usr/share/licenses/${pkgname}/License.txt || return 1
}
md5sums=('42060059d32cd4be66183247cb55be59'
'ce6a707b79411e82e8e558aa03e764b0'
'b0b2d0f6915a21ca6f33896ee8f50387')