blob: f226fdf4a456fb2aa7f6e8c72cff9a60e69e2ffc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#!/bin/mkpkg
# description: Userspace setup tool for Linux dm-crypt / LUKS
# url: https://gitlab.com/cryptsetup/cryptsetup
name=cryptsetup
version=2.8.8
release=1
depends=(device-mapper popt json-c argon2 libressl util-linux)
makedeps=(pkgconf)
source=(https://www.kernel.org/pub/linux/utils/cryptsetup/v2.8/cryptsetup-$version.tar.xz)
sha256sums=(
"3acfa685f2dd7fcc832e0b77bc7093aa7da554a51ce8dafbb4138eaa854eee35"
)
build() {
cd cryptsetup-$version
CC=clang \
./configure \
--prefix=/ \
--sbindir=/sbin \
--mandir=/usr/share/man \
--with-crypto-backend=openssl \
--disable-internal-argon2 \
--enable-libargon2 \
--disable-ssh-token \
--disable-asciidoc \
--disable-nls \
--disable-udev \
--disable-selinux \
--with-default-luks-format=LUKS2
# remove tests from build — generate-symbols-list uses /dev/fd process substitution
sed -i 's/ tests//' Makefile
make
make DESTDIR=$PKG install
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|