summaryrefslogtreecommitdiff
path: root/libs/libopensmtpd/MAKEPKG
blob: b56a45f7270ea8d28b41cdcdba7d40ebd7340d75 (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
#!/bin/mkpkg
# description: Library for writing OpenSMTPD filters
# url: https://imperialat.at/dev/libopensmtpd/

name=libopensmtpd
version=0.7
release=1
depends=(libevent)
makedeps=(mandoc)
source=(https://imperialat.at/releases/$name-$version.tar.gz)
sha256sums=(
    "cdd6d5e11a7063f9265da43a42309c646554b8b68b03982ca8472dbe2b08a613"
)

build() {
    cd $name-$version

    # Makefile.gnu: the plain Makefile is BSD make
    make -f Makefile.gnu CC="${CC:-cc}" MANFORMAT=man
    make -f Makefile.gnu DESTDIR=$PKG PREFIX=/usr LIBDIR=/usr/lib \
        MANFORMAT=man install
}

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

# vim: filetype=sh