2023-12-05 04:47:04 +00:00
|
|
|
# Maintainer: Daryl Ronningen <relms@relms.dev>
|
|
|
|
|
|
|
|
pkgname=libressl
|
|
|
|
pkgver=3.8.2
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Free version of the TLS/crypto stack forked from OpenSSL"
|
2023-12-08 02:05:38 +00:00
|
|
|
arch=("x86_64")
|
2023-12-05 04:47:04 +00:00
|
|
|
url="https://www.libressl.org/"
|
|
|
|
license=(ISC custom:OpenSSL)
|
2023-12-08 02:05:38 +00:00
|
|
|
optdepends=("ca-certificates")
|
|
|
|
backup=("etc/libressl/openssl.cnf")
|
|
|
|
source=("https://cdn.openbsd.org/pub/OpenBSD/LibreSSL/libressl-$pkgver.tar.gz")
|
2023-12-05 04:47:04 +00:00
|
|
|
sha256sums=('6d4b8d5bbb25a1f8336639e56ec5088052d43a95256697a85c4ce91323c25954')
|
|
|
|
|
|
|
|
prepare() {
|
2023-12-08 02:05:38 +00:00
|
|
|
cd $pkgname-$pkgver
|
|
|
|
autoreconf -vfi
|
2023-12-05 04:47:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2023-12-08 02:05:38 +00:00
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr
|
|
|
|
make
|
2023-12-05 04:47:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-12-08 02:05:38 +00:00
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR=$pkgdir install
|
|
|
|
install -Dm644 COPYING -t $pkgdir/usr/share/licenses/$pkgname/
|
2023-12-05 04:47:04 +00:00
|
|
|
}
|