summaryrefslogtreecommitdiff
path: root/libs/nghttp2/MAKEPKG
blob: cc1b4510234bd6b989760616786e89d4808d19b7 (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
#!/bin/mkpkg
# description: HTTP/2 C Library and tools
# url: https://github.com/nghttp2/nghttp2/

name=nghttp2
version=1.70.0
release=1
source=(
    https://github.com/nghttp2/nghttp2/releases/download/v$version/nghttp2-$version.tar.xz
)

sha256sums=(
    "e05cb1388eaca3830aded4ccf20044b6e1ac1a61411dcca11b0437c4285c8bc2"
)

build() {
    cd nghttp2-$version

    ./configure \
        --prefix=/usr \
        --enable-lib-only \
        --disable-examples \
        --disable-python-bindings
    make
    make -C lib DESTDIR=$PKG install

    rm -f $PKG/usr/lib/*.la
}

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

# vim: filetype=sh