# Contributor: ScrumpyJack # Maintainer: pkgname=encfs pkgver=1.8_rc1 _ver=${pkgver/_/-} pkgrel=1 pkgdesc="EncFS provides an encrypted filesystem in user-space" url="https://vgough.github.io/encfs/" arch="all" license="GPL" depends="fuse" depends_dev="" makedepends="rlog-dev openssl-dev fuse-dev boost-dev libtool gettext-dev autoconf automake" install="" subpackages="$pkgname-doc" source="$pkgname-$_ver.tar.gz::https://github.com/vgough/encfs/archive/v$_ver.tar.gz" _builddir="$srcdir/${pkgname}-$_ver" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done autoreconf -if } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-nls \ || return 1 make } package() { cd "$_builddir" make DESTDIR="${pkgdir}" install || return 1 find "$pkgdir" -name '*.la' -delete || return 1 } md5sums="1566af6b1a97be262215f6c509b34012 encfs-1.8-rc1.tar.gz" sha256sums="387375019bb4059f36b03ec69aed5ff42c8b56a1d3d9fe39ded5e8e62255c117 encfs-1.8-rc1.tar.gz" sha512sums="04adba347c6a67f87c7fa541750064eca4cbd6e950dec22e1a2358d8764ea49d821aa6881a76e3b3aedbc927a11d9bcf33273211a959609e10afa0175333516f encfs-1.8-rc1.tar.gz"