summaryrefslogtreecommitdiff
path: root/core/signify-openbsd/MAKEPKG
blob: 6f8743f4e8053d16897e87dc8e88a4db4834edfb (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
#!/bin/mkpkg
# description: OpenBSD cryptographic signing tool
# url: https://github.com/aperezdc/signify

name=signify-openbsd
_name=signify
version=33
release=1
depends=()
source=(https://github.com/aperezdc/signify/archive/v$version.tar.gz)
renames=($name-$version.tar.gz)

sha256sums=(
    "2eff30861d82231f8e2b8f0320a3e5b4e1eab5b3a63def1ac7893e33dbd6f969"
)

build() {
    cd $_name-$version
    make BUNDLED_LIBBSD=1 MUSL=1 LTO=1
    install -Dm755 signify $PKG/bin/signify
    install -Dm644 signify.1 $PKG/usr/share/man/man1/signify.1
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh