diff options
Diffstat (limited to 'libs/botan/MAKEPKG')
| -rw-r--r-- | libs/botan/MAKEPKG | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libs/botan/MAKEPKG b/libs/botan/MAKEPKG new file mode 100644 index 0000000..cee61ea --- /dev/null +++ b/libs/botan/MAKEPKG @@ -0,0 +1,36 @@ +#!/bin/mkpkg +# description: Crypto and TLS for C++11 +# url: https://botan.randombit.net/ + +name=botan +version=3.13.0 +release=1 +source=( + https://botan.randombit.net/releases/Botan-${version}.tar.xz +) + +sha256sums=( + "12f5a8358890bbee82edfe9d2e7769b0a610b6dd0e0698aea13d20a675d84620" +) + +build() { + cd "Botan-$version" + + ./configure.py \ + --prefix=/usr \ + --with-zlib + + make + make DESTDIR="$PKG" install + + # Remove unnecessary files + rm -rf "$PKG/usr/share/doc" + rm -rf "$PKG/usr/include/botan-3/botan/internal" 2>/dev/null || true +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh |
