# $Id$ # Maintainer: Jaroslav Lichtblau # Contributor: Andrea Scarpino # Contributor: Jaroslaw Swierczynski # Contributor: Sven Kauber, # Contributor: Daniel J Griffiths # ALARM: Kevin Mihelich # - explicitly link v5/v6 with libatomic pkgname=encfs pkgver=1.9.2 pkgrel=2 pkgdesc='Encrypted filesystem in user-space' arch=('x86_64') url='https://vgough.github.io/encfs/' license=('LGPL') depends=('openssl' 'fuse2' 'tinyxml2') makedepends=('cmake') source=(https://github.com/vgough/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz{,.asc}) # validpgpkeys=('E583187B2E26D6EF8BF4556333C65E29813C14DF') # Valient Gough validpgpkeys=('FFF3E01444FED7C316A3545A895F5BC123A02740') # Jakob Unterwurzacher sha256sums=('cd9e972cd9565cdc26473c86d2c77c98de31fc6f604fa7d149dd5d6e35d46eaa' 'SKIP') build() { cd "${srcdir}" mkdir build cd build [[ $CARCH == "arm" || $CARCH == "armv6h" ]] && echo "target_link_libraries(encfs atomic)" >> ../$pkgname-$pkgver/CMakeLists.txt cmake ../$pkgname-$pkgver \ -DUSE_INTERNAL_TINYXML=OFF \ -DINSTALL_LIBENCFS=ON \ -DBUILD_SHARED_LIBS=ON \ -DCMAKE_INSTALL_PREFIX=/usr make } # https://github.com/vgough/encfs/issues/358 # check() { # cd "${srcdir}"/build # # make test # } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }