[arch-commits] Commit in (encpipe encpipe/repos encpipe/trunk encpipe/trunk/PKGBUILD)

Kpcyrd kpcyrd at gemini.archlinux.org
Thu Nov 18 00:49:50 UTC 2021


    Date: Thursday, November 18, 2021 @ 00:49:50
  Author: kpcyrd
Revision: 1051474

addpkg: encpipe 0.5-1

Added:
  encpipe/
  encpipe/repos/
  encpipe/trunk/
  encpipe/trunk/PKGBUILD

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

Added: encpipe/trunk/PKGBUILD
===================================================================
--- encpipe/trunk/PKGBUILD	                        (rev 0)
+++ encpipe/trunk/PKGBUILD	2021-11-18 00:49:50 UTC (rev 1051474)
@@ -0,0 +1,31 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=encpipe
+pkgver=0.5
+pkgrel=1
+pkgdesc='Encrypt data from stdin to stdout with libhydrogen'
+url='https://github.com/jedisct1/encpipe'
+arch=('x86_64')
+license=('ISC')
+makedepends=('git')
+source=("git+https://github.com/jedisct1/${pkgname}.git#tag=${pkgver}")
+b2sums=('SKIP')
+
+build() {
+  cd ${pkgname}
+  #make CFLAGS="${CFLAGS} -Iext/libhydrogen ${LDFLAGS}" bin
+  make CFLAGS="${CFLAGS} -Iext/libhydrogen ${LDFLAGS}" bin
+}
+
+check() {
+  cd ${pkgname}
+  make test
+}
+
+package() {
+  cd ${pkgname}
+  install -Dm 755 encpipe -t "${pkgdir}/usr/bin"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list