opt/cryptsetup/Pkgfile

27 lines
639 B
Plaintext

# Description: user-friendly dm-crypt/LUKS interface
# URL: https://gitlab.com/cryptsetup/cryptsetup
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: libdevmapper openssl popt json-c
name=cryptsetup
version=2.3.1
release=2
source=(https://kernel.org/pub/linux/utils/$name/v${version%.*}/$name-$version.tar.xz
json-c-0.14.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/json-c-0.14.patch
./configure \
--prefix=/usr \
--disable-nls \
--enable-static-cryptsetup
make
make DESTDIR=$PKG install
install -d $PKG/sbin
mv $PKG/{usr/sbin,sbin}/cryptsetup.static
}