blob: 669c72b60def4b7bc532b8be5ee5121058c7aa86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=truecrypt
pkgver=7.1a
pkgrel=3
pkgdesc="crypto"
url="http://www.truecrypt.org/"
arch="all"
license="AS-IS"
depends="device-mapper"
depends_dev=""
makedepends="nasm fuse-dev wxgtk2.8-dev"
install=""
subpackages=""
source="https://sources.archlinux.org/other/tc/truecrypt-${pkgver}.tar.gz
https://sources.archlinux.org/other/tc/pkcs-2.20.tar.gz
fix-invalid-characters.patch
flush-stdout.patch
truecrypt-arch-detection.patch
execstack-fix.patch
libdl.patch
truecrypt.desktop
"
builddir="$srcdir"/truecrypt-$pkgver-source
build() {
cd "$builddir"
export CXXFLAGS="$CXXFLAGS -std=gnu++98"
make PKCS11_INC="${srcdir}/pkcs-2.20" VERBOSE=1 \
TC_EXTRA_CFLAGS="${CFLAGS}" \
TC_EXTRA_CXXFLAGS="${CXXFLAGS}" \
TC_EXTRA_LFLAGS="${LDFLAGS} -no-pie" \
NOSTRIP=1 \
|| return 1
}
package() {
cd "$builddir"
install -Dm755 Main/truecrypt "$pkgdir"/usr/bin/truecrypt || return 1
install -Dm644 "$srcdir"/truecrypt.desktop \
"$pkgdir"/usr/share/applications/truecrypt.desktop
}
sha512sums="b5e766023168015cb91bfd85c9e2621055dd98408215e02704775861b5070c5a0234a00c64c1bf7faa34e6d0b51ac71cd36169dd7a6f84d7a34ad0cfa304796a truecrypt-7.1a.tar.gz
d69d90040da5bc93f91041ed9404f1614a3b1bdc8eddc2bbbd19367f12d2416a6f3af8b0071d77e1273d627148c63ebe7ebe332878fbe9adb8ae33dcc723f473 pkcs-2.20.tar.gz
da6a97ba4caa7b3e6455fa7f126282a5aa9bffb04d5cfd0f7e1358bf7177c68a4102632ae32121a670abe5bb63ab522e9c1bf8f0e7ad336954760089252f39d8 fix-invalid-characters.patch
837c147bc934f7ac431792ea49eae208fc2dbf792ba8e84a8d9ed72e8fdb39caeffe02f1664f6354b1d8d473a3f74f2d15e012379cc9d6db149f48af99205f0b flush-stdout.patch
fac6963c65720f0b13486ff22bdcc2e31e78c39ede2b9561b2c4037ef2c0375f04c4d51dc6067c37aaeb664c3ed70e5747488389737c41807680750c26a8f084 truecrypt-arch-detection.patch
a5d843a0eac7f14668e8c722a85ab8d871f64cf0488a9d9acd33235f077e74af3d191a3a6c18ddd25e8b487ef56b3afdbb6f3d7877113687a8101a1b855c366e execstack-fix.patch
83a8daefe3137581daab0aed599a9b47ec19a7403bdca424eb86fce482ddefb0a513ad18522a7d9b03d18fb771502ef378c76626521d8184c2e200e23d499737 libdl.patch
1ac13f1888319d6d2f10e03a61e22d68e5fe4a61bbdf8ad364a0fe6f6712cc53dbc1a98fff3fda2ecd57dbe67fcc24fb358c0805ab47eaa12cf14d48f1067e51 truecrypt.desktop"
|