summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c0383d17dc7c21929a9dc9b08480ff7a1e1935ce (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
# Maintainer: jdn06 <jdn06.jdn06@outlook.fr>

pkgname=cryfs-git
_pkgname=cryfs
pkgver=2016.03
pkgrel=1
pkgdesc="CryFS encrypts your files, so you can safely store them anywhere"
arch=('i686' 'x86_64')
url="https://www.cryfs.org"
license=('LGPL3')
depends=('fuse' 'crypto++' 'curl')
makedepends=('git' 'cmake' 'boost' 'python')
provides=('cryfs')
conflicts=('cryfs')

source=("$_pkgname"::"git://github.com/$_pkgname/$_pkgname.git")
sha256sums=(SKIP)

pkgver() {
  cd ${_pkgname}
  git describe --tags | sed 's/-//g'
}

prepare() {
	cd "$srcdir/$_pkgname"
	mkdir cmake && cd cmake
	cmake -DCMAKE_INSTALL_PREFIX=/usr ..
}

build() {
	cd "$srcdir/$_pkgname/cmake"
	make
}

package() {
	cd "$srcdir/$_pkgname/cmake"
	make DESTDIR="$pkgdir/" install
}