29 lines
835 B
Bash
29 lines
835 B
Bash
# Template file for 'signify'
|
|
pkgname=signify
|
|
reverts="20141230_3 20141230_2 20141230_1"
|
|
version=30
|
|
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=f68406c3085ef902e85500e6c0b90e4c3f56347e5efffc0da7b6fb47803c8686
|
|
|
|
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
|
|
}
|