summaryrefslogtreecommitdiff
path: root/libs/libgcrypt/MAKEPKG
blob: 70022d4e13ea7f08bc6d5568c21931b7221d744d (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: General purpose cryptographic library
# url: https://www.gnupg.org/software/libgcrypt

name=libgcrypt
version=1.12.4
release=1
depends=(libgpg-error)
source=(https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-$version.tar.bz2)
sha256sums=(
    "d77f68f48879510e79a2f65977ccc68981781ea0923e5bdffac2a193ea3d660e"
)

build() {
    cd $name-$version
    ./configure \
        --prefix=/usr \
        --disable-static \
        --disable-doc \
        --with-libgpg-error-prefix=/usr
    make
    make DESTDIR=$PKG install
}

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

# vim: filetype=sh