[arch-commits] Commit in libretls/repos (community-x86_64 community-x86_64/PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Wed Jan 27 21:53:55 UTC 2021


    Date: Wednesday, January 27, 2021 @ 21:53:54
  Author: eschwartz
Revision: 833021

archrelease: copy trunk to community-x86_64

Added:
  libretls/repos/community-x86_64/
  libretls/repos/community-x86_64/PKGBUILD
    (from rev 833020, libretls/trunk/PKGBUILD)

----------+
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Copied: libretls/repos/community-x86_64/PKGBUILD (from rev 833020, libretls/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-01-27 21:53:54 UTC (rev 833021)
@@ -0,0 +1,29 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: lillian rose winter <hi at neko.vg>
+# Contributor: Evan McCarthy <evan at mccarthy.mn>
+
+pkgname=libretls
+pkgver=3.3.1
+pkgrel=2
+pkgdesc="libtls for OpenSSL"
+arch=('x86_64')
+url="https://git.causal.agency/${pkgname}"
+license=('ISC' 'BSD' 'MIT')
+depends=('openssl')
+source=("https://causal.agency/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('f23a29ef321eff099b8fbabdecc3a3378cfb9eca24b2bf02062554e9779c4d33')
+b2sums=('b935cae7bdd2e2338099dbc830e2773198d5d4ed12df80b89291d0eb8ae68549e36413c79ba1373d8bce8fd857c4a291fbd9bce30c819cc182bd5b68ac7b9527')
+
+build() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    ./configure --prefix=/usr
+    make
+}
+
+package() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    make DESTDIR="${pkgdir}" install
+    sed -n '1,/*\//p' tls.c | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list