summaryrefslogtreecommitdiff
path: root/extra/truecrypt/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-28 11:35:50 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-10-28 11:35:50 -0300
commit8856e6fe26ce35b4caf6beeac324f583ec1b6133 (patch)
treec42a03e2b7610a39d167af36357607399aa40045 /extra/truecrypt/PKGBUILD
parent5100458465d1ed420073c3213349bf430075ddbc (diff)
parent0424b5fc47f106db6498c4cda3476e1d49fe0f82 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/esmtp/PKGBUILD community/geany-plugins/PKGBUILD community/giggle/PKGBUILD community/guichan/PKGBUILD community/mxml/PKGBUILD community/ruby-gtk2/PKGBUILD core/libtool/PKGBUILD core/mkinitcpio-busybox/PKGBUILD core/udev/PKGBUILD extra/audacious/PKGBUILD extra/conky/PKGBUILD extra/gnome-control-center/PKGBUILD extra/gtk2/PKGBUILD extra/gtk3/PKGBUILD extra/gvfs/PKGBUILD extra/kdeutils/PKGBUILD extra/kino/PKGBUILD extra/mkvtoolnix/PKGBUILD extra/poppler/PKGBUILD extra/postfix/PKGBUILD extra/pulseaudio/PKGBUILD extra/qtcurve-gtk2/PKGBUILD extra/transmission/PKGBUILD extra/xfburn/PKGBUILD extra/xfce4-xkb-plugin/PKGBUILD extra/xorg-server/PKGBUILD extra/yelp/PKGBUILD kde-unstable/calligra/PKGBUILD multilib/lib32-gtk2/PKGBUILD multilib/lib32-libpulse/PKGBUILD multilib/libtool-multilib/PKGBUILD multilib/wine/PKGBUILD multilib/wine/wine.install
Diffstat (limited to 'extra/truecrypt/PKGBUILD')
-rw-r--r--extra/truecrypt/PKGBUILD37
1 files changed, 20 insertions, 17 deletions
diff --git a/extra/truecrypt/PKGBUILD b/extra/truecrypt/PKGBUILD
index f6272e2a9..ff3a03d79 100644
--- a/extra/truecrypt/PKGBUILD
+++ b/extra/truecrypt/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 130364 2011-07-06 02:01:03Z paul $
+# $Id: PKGBUILD 141202 2011-10-25 22:33:47Z eric $
# Maintainer: Paul Mattal <paul.archlinux.org>
pkgname=truecrypt
-pkgver=7.0a
-pkgrel=3
+pkgver=7.1
+pkgrel=1
pkgdesc="Free open-source cross-platform disk encryption software"
url="http://www.truecrypt.org/"
arch=('i686' 'x86_64' 'mips64el')
@@ -15,33 +15,36 @@ conflicts=('truecrypt-utils')
replaces=('truecrypt-utils')
# 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/truecrypt-7.0a.tar.gz' \
+source=(ftp://ftp.archlinux.org/other/tc/truecrypt-${pkgver}.tar.gz{,.sig} \
'ftp://ftp.archlinux.org/other/tc/pkcs-2.20.tar.gz' \
"${pkgname}.desktop" \
"${pkgname}-arch-detection.patch")
+md5sums=('a8268630a870faff07af940f63fb29eb'
+ 'ddee7c4b2419ecb44b02c8294a08fbed'
+ 'ce6a707b79411e82e8e558aa03e764b0'
+ '183b9bf04a943454d4e216130bcbac01'
+ '00ea70fa8437de877b31b027ac2b4060')
build() {
- export PKCS11_INC="${srcdir}/pkcs-2.20"
-
- cd ${srcdir}/${pkgname}-${pkgver}-source || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}-source"
# Work around buggy CPU type detection
- patch -Np1 -i ../${pkgname}-arch-detection.patch || return 1
+ patch -Np1 -i ../${pkgname}-arch-detection.patch
# Build
- make || return 1
+ make PKCS11_INC="${srcdir}/pkcs-2.20"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}-source"
# Install Binary
- install -D -m755 Main/${pkgname} ${pkgdir}/usr/bin/${pkgname} || return 1
+ install -D -m755 Main/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
# Install Desktop file and Icon
- install -D -m644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop || return 1
- install -D -m644 Resources/Icons/TrueCrypt-48x48.xpm ${pkgdir}/usr/share/pixmaps/truecrypt.xpm || return 1
+ install -D -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ install -D -m644 Resources/Icons/TrueCrypt-48x48.xpm "${pkgdir}/usr/share/pixmaps/truecrypt.xpm"
# Install License
- install -D -m644 License.txt ${pkgdir}/usr/share/licenses/${pkgname}/License.txt || return 1
+ install -D -m644 License.txt "${pkgdir}/usr/share/licenses/${pkgname}/License.txt"
}
-md5sums=('0a61616bc5c5ad90e876b4014c004ac9'
- 'ce6a707b79411e82e8e558aa03e764b0'
- '183b9bf04a943454d4e216130bcbac01'
- '00ea70fa8437de877b31b027ac2b4060')