28 lines
748 B
Bash
28 lines
748 B
Bash
# Template file for 'reop'
|
|
pkgname=reop
|
|
version=2.1.1
|
|
revision=4
|
|
makedepends="libsodium-devel"
|
|
short_desc="Create and verify cryptographic signatures"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="ISC"
|
|
homepage="https://www.tedunangst.com/flak/post/reop"
|
|
distfiles="https://www.tedunangst.com/flak/files/reop-${version}.tgz"
|
|
checksum=fa8ae058c51efec5bde39fab15b4275e6394d9ab1dd2190ffdba3cf9983fdcac
|
|
|
|
do_build() {
|
|
make -f GNUmakefile \
|
|
CC="$CC" CFLAGS="$CFLAGS" \
|
|
CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include -Iother ${CPPFLAGS}" \
|
|
LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib -lsodium ${LDFLAGS}"
|
|
sed -n '2,14p' reop.c | cut -b4- > LICENSE
|
|
}
|
|
do_check() {
|
|
(cd tests && ./test.sh)
|
|
}
|
|
do_install() {
|
|
vbin reop
|
|
vman reop.1
|
|
vlicense LICENSE
|
|
}
|