-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
32 lines (29 loc) · 965 Bytes
/
template
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
# Template file for 'signify'
pkgname=signify
reverts="20141230_3 20141230_2 20141230_1"
version=31
revision=1
build_style=gnu-makefile
make_build_args="BZERO=bundled"
hostmakedepends="pkg-config"
makedepends="libbsd-devel libmd-devel"
checkdepends="tar"
short_desc="OpenBSD cryptographic signing and verification tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://www.tedunangst.com/flak/post/signify"
changelog="https://raw.githubusercontent.com/aperezdc/signify/master/CHANGELOG.md"
distfiles="https://github.com/aperezdc/signify/releases/download/v${version}/signify-${version}.tar.xz"
checksum=1155fd9eeed4a8aa20476b2333d251953ec5d52338d943a770db5b78dd8d2b74
pre_build() {
# Allow building with musl
cp ${FILESDIR}/void.h .
for file in blf.h sha2.h ohash.h; do
vsed -e '1 i\#include "void.h"' -i $file
done
# Create license file
sed -E '3,15 !d;s/^ [*] ?//' signify.c > LICENSE
}
post_install() {
vlicense LICENSE
}