summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b8b577216cbe3db8d8ee7b1bb524211951710445 (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
53
54
55
56
57
58
59
60
61
# Maintainer: Sebastian Lau <archlinux _at_ slau _dot_ info>
# Maintainer: Eric Ozwigh <ozwigh at gmail dot com>

pkgname=veracrypt
_pkgname=VeraCrypt
pkgver=1.16
_pkgver=${pkgver//_/-}
pkgrel=6
pkgdesc="Disk encryption with strong security based on TrueCrypt"
arch=('i686' 'x86_64') #'armv6h')
url="http://veracrypt.codeplex.com/"
license=('custom')
depends=('fuse' 'wxgtk>=3.0')
makedepends=('nasm')
install='veracrypt.install'

source_x86_64=("https://www.slau.me/archlinux/mirrors/${pkgname}/${pkgver}/${pkgname}_${pkgver}_amd64.tar.gz"
	       "https://www.slau.me/archlinux/mirrors/${pkgname}/${pkgver}/${pkgname}_${pkgver}_amd64.tar.gz.sig")
source_i686=("https://www.slau.me/archlinux/mirrors/${pkgname}/${pkgver}/${pkgname}_${pkgver}_i386.tar.gz"
	     "https://www.slau.me/archlinux/mirrors/${pkgname}/${pkgver}/${pkgname}_${pkgver}_i386.tar.gz.sig")
#source=("${pkgname}_${pkgver}_Source.tar.bz2::http://sourceforge.net/projects/${pkgname}/files/${_pkgname} ${pkgver}/${pkgname}_${pkgver}_Source.tar.bz2/download"
	#"${pkgname}_${pkgver}_Source.tar.bz2.sig::http://sourceforge.net/projects/${pkgname}/files/${_pkgname} ${pkgver}/${pkgname}_${pkgver}_Source.tar.bz2.sig/download"
source=("no_makeself.patch"
        "veracrypt.desktop"
        "veracrypt.install")
sha1sums=('0cbe9f7875ab52be125cc575533f76fab60314a5'
          'ebdd450e719fe3cff5e459f027856cbaf03db13a'
          '14dceabf658a7e3505c855c2862aa86e343fcda5')
sha1sums_i686=('0b7e129c944b1a93624fe6e567c6ba14f5c4a2ff'
               'SKIP')
sha1sums_x86_64=('e16deb7d40b8569568c3eb861cb3460a70cdd9ea'
                 'SKIP')
validpgpkeys=('0864B51BD36BBC39D548DDA7CB147F331607AC45')
		#'993B7D7E8E413809828F0F29EB559C7C54DDD393')

#prepare() {
#  cd ${srcdir}/src

#  msg2 "Applying patches..."
#  patch -Np1 -i ../no_makeself.patch  # disable sfx archive
#}

#build() {
#  cd ${srcdir}/src

#  msg2 "Building veracrypt..."
#  export WX_CONFIG=/usr/bin/wx-config
#  make LFLAGS+="-ldl"
#}

package() {
#  cd ${srcdir}/src
  install -D -m755 "${srcdir}/usr/bin/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
  install -D -m644 "${srcdir}/usr/share/veracrypt/doc/License.txt" "${pkgdir}/usr/share/licenses/${pkgname}/License.txt"
  install -D -m644 "${srcdir}/usr/share/pixmaps/veracrypt.xpm" "${pkgdir}/usr/share/pixmaps/veracrypt.xpm"
  install -D -m644 "${srcdir}/usr/share/applications/veracrypt.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
#  install -D -m755 Main/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
#  install -D -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
#  install -D -m644 Resources/Icons/VeraCrypt-48x48.xpm "${pkgdir}/usr/share/pixmaps/veracrypt.xpm"
#  install -D -m644 License.txt "${pkgdir}/usr/share/licenses/${pkgname}/License.txt"
}