pkgname=cryptsetup pkgver=2.7.5 pkgrel=1 pkgdesc="Userspace setup tool for transparent encryption of block devices using dm-crypt" arch=('x86_64') url="https://gitlab.com/cryptsetup/cryptsetup/" license=('GPL-2.0-or-later' 'LGPL-2.1-or-later') depends=('device-mapper' 'openssl' 'popt' 'util-linux' 'json-c' 'libpwquality') makedepends=('asciidoctor') options=('!emptydirs') source=(https://www.kernel.org/pub/linux/utils/cryptsetup/v${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) sha256sums=(d2be4395b8f503b0ebf4b2d81db90c35a97050a358ee21fe62a0dfb66e5d5522) build() { cd ${pkgname}-${pkgver} local configure_args=( --enable-pwquality --disable-ssh-token ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }