/
libressl.pacscript
39 lines (34 loc) · 1.02 KB
/
libressl.pacscript
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
38
39
# __ __________ ______
# / \ / \_____ \ / __ \
# \ \/\/ // ____/ > <
# \ // \/ -- \
# \__/\ / \_______ \______ /
# \/ \/ \/
maintainer=("wizard-28 <wiz28@pm.me>")
pkgname="libressl"
pkgver="3.7.3"
source=("https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${pkgver}.tar.gz")
pkgdesc="LibreSSL is a version of the TLS/crypto stack forked from OpenSSL in 2014, with goals of modernizing the codebase, improving security, and applying best practice development processes."
breaks=("${pkgname}-git" "${pkgname}-bin")
sha256sums=("7948c856a90c825bd7268b6f85674a8dcd254bae42e221781b24e3f8dc335db3")
repology=("project: libressl")
prepare() {
cd "${_archive}"
# Configure LibreSSL
./configure
}
build() {
cd "${_archive}"
# Build LibreSSL
make -j"${nproc}"
}
package() {
cd "${_archive}"
# Install LibreSSL
make install DESTDIR="${pkgdir}"
}
post_install() {
# Configure LibreSSL linker run-time bindings
sudo ldconfig
}
# vim:set ft=sh ts=2 sw=2 et: