archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / encfs / trunk / PKGBUILD
blob36d08f23a0d3d447eff0a8bb01a361f7b35abf22
1 # Maintainer: Jaroslav Lichtblau <svetlemodry@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
4 # Contributor: Sven Kauber, <celeon@gmail.com>
5 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
7 pkgname=encfs
8 pkgver=1.9.5
9 pkgrel=6
10 pkgdesc='Encrypted filesystem in user-space'
11 arch=('x86_64')
12 url='https://vgough.github.io/encfs/'
13 license=('LGPL')
14 depends=('openssl' 'fuse2' 'tinyxml2')
15 makedepends=('cmake')
16 source=(https://github.com/vgough/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz{,.asc})
17 # validpgpkeys=('E583187B2E26D6EF8BF4556333C65E29813C14DF') # Valient Gough
18 validpgpkeys=('FFF3E01444FED7C316A3545A895F5BC123A02740') # Jakob Unterwurzacher <jakobunt@gmail.com>
19 sha256sums=('4709f05395ccbad6c0a5b40a4619d60aafe3473b1a79bafb3aa700b1f756fd63'
20             'SKIP')
22 build() {
23   cmake -B build -S $pkgname-$pkgver \
24       -DUSE_INTERNAL_TINYXML=OFF \
25       -DINSTALL_LIBENCFS=ON \
26       -DBUILD_SHARED_LIBS=ON \
27       -DCMAKE_INSTALL_PREFIX=/usr
28   cmake --build build
31 package() {
32   DESTDIR="${pkgdir}" cmake --install build