summaryrefslogtreecommitdiff
path: root/opt/uacme/MAKEPKG
blob: 27e5482f68020f0b14fd030ccb85a95ce57fd62e (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
31
32
33
34
35
36
37
38
#!/bin/mkpkg
# description: ACMEv2 client written in plain C with minimal dependencies
# url: https://github.com/ndilieto/uacme

name=uacme
version=1.8.1
release=1
depends=(libressl curl)
source=(https://github.com/ndilieto/uacme/archive/refs/tags/upstream/$version.tar.gz)
sha256sums=(
    "de7588577f8298dcb0d42dfaa9452a918fa692c4e165060207ac22f72fb0425d"
)

build() {
    # Tarball expands to uacme-upstream-$version
    cd $name-upstream-$version

    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --libexecdir=/usr/lib \
        --with-openssl \
        --disable-ualpn \
        --disable-maintainer-mode \
        --disable-docs

    make
    make DESTDIR=$PKG install

    rm -rf $PKG/usr/share/doc
}

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

# vim: filetype=sh