summaryrefslogtreecommitdiff
path: root/libs/libssh2/MAKEPKG
blob: 9d1335d99f1df1438b63c1e80041a0c8729754c3 (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
#!/bin/mkpkg
# description: Client-side SSH2 library
# url: https://libssh2.org

name=libssh2
version=1.11.1
release=1
depends=(libressl zlib)
source=(https://libssh2.org/download/$name-$version.tar.gz)

sha256sums=(
    "d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7"
)

build() {
    cd $name-$version

    ./configure \
        --prefix=/usr \
        --with-crypto=openssl \
        --disable-static \
        --disable-examples-build \
        --disable-docker-tests

    make
    make DESTDIR=$PKG install

    # remove libtool junk
    find $PKG -name '*.la' -delete
}

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

# vim: filetype=sh