1 # Contributor: Patrick Bartels <p4ddy.b@gmail.com>
5 pkgname="truecrypt-zen"
8 pkgdesc="Free open-source disk encryption software - module for kernel26zen"
9 url="http://www.truecrypt.org/"
11 arch=("i686" "x86_64")
12 depends=("truecrypt-utils" "kernel26zen>=2.6.24.rc2.zen0-1")
13 install=truecrypt.install
14 source=(http://www.truecrypt.org/downloads/truecrypt-$pkgver-source-code.tar.gz
16 md5sums=('8f2536eae16e6044a22b2a82c7003357'
17 '89e4ce6c57b0f179bcd2fe59c2617128')
20 cd $startdir/src/truecrypt-$pkgver-source-code/Linux/Kernel
22 patch -p0 < $startdir/src/kernel-2.6.24.patch
24 make KERNEL_SRC=/lib/modules/$_kernver/build || return 1
25 install -D -m600 ../Kernel/truecrypt.ko \
26 $startdir/pkg/lib/modules/$_kernver/extra/truecrypt.ko
28 # Update kernel version in .install script
29 sed -i "s/KERNEL_VERSION=.*/KERNEL_VERSION=$_kernver/g" $startdir/truecrypt.install