30 lines
835 B
Bash
30 lines
835 B
Bash
# Template file for 'signify'
|
|
pkgname=signify
|
|
reverts="20141230_3 20141230_2 20141230_1"
|
|
version=29
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_build_args="BZERO=bundled"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libbsd-devel"
|
|
short_desc="OpenBSD cryptographic signing and verification tool"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="ISC"
|
|
homepage="http://www.tedunangst.com/flak/post/signify"
|
|
distfiles="https://github.com/aperezdc/signify/releases/download/v${version}/signify-${version}.tar.xz"
|
|
checksum=a9c1c3c2647359a550a4a6d0fb7b13cbe00870c1b7e57a6b069992354b57ecaf
|
|
|
|
pre_build() {
|
|
# Allow building with musl
|
|
cp ${FILESDIR}/void.h .
|
|
for file in blf.h sha2.h ohash.h; do
|
|
sed -e '1 i\#include "void.h"' -i $file
|
|
done
|
|
# Create license file
|
|
head -n 16 signify.c > LICENSE
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|