[arch-commits] Commit in sequoia-sqv/repos (2 files)

Levente Polyak anthraxx at gemini.archlinux.org
Wed Aug 4 00:30:16 UTC 2021


    Date: Wednesday, August 4, 2021 @ 00:30:16
  Author: anthraxx
Revision: 993600

archrelease: copy trunk to community-x86_64

Added:
  sequoia-sqv/repos/community-x86_64/
  sequoia-sqv/repos/community-x86_64/PKGBUILD
    (from rev 993599, sequoia-sqv/trunk/PKGBUILD)

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

Copied: sequoia-sqv/repos/community-x86_64/PKGBUILD (from rev 993599, sequoia-sqv/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-08-04 00:30:16 UTC (rev 993600)
@@ -0,0 +1,43 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=sequoia-sqv
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='Simple OpenPGP signature verification program'
+url='https://sequoia-pgp.org/'
+arch=('x86_64')
+license=('GPL2')
+groups=('sequoia')
+depends=('glibc' 'nettle' 'libnettle.so' 'nettle' 'libhogweed.so' 'libnettle.so'
+         'gcc-libs' 'gmp')
+makedepends=('git' 'cargo' 'clang')
+source=(sequoia::"git+https://gitlab.com/sequoia-pgp/sequoia.git#tag=v${pkgver}?signed")
+sha512sums=('SKIP')
+validpgpkeys=(
+  D2F2C5D45BE9FDE6A4EE0AAF31855247603831FD # justus at sequoia-pgp.org
+  CBCD8F030588653EEDD7E2659B7DD433F254904A # justus at sequoia-pgp.org
+)
+
+build() {
+  cd sequoia/sqv
+  export CARGO_TARGET_DIR=../target
+  cargo build --release --locked --features 'crypto-nettle'
+}
+
+check() {
+  cd sequoia/sqv
+  cargo test --release --locked --features 'crypto-nettle'
+}
+
+package() {
+  cd sequoia
+  install -Dm 755 target/release/sqv -t "${pkgdir}/usr/bin"
+
+	install -Dm 644 target/sqv.bash "${pkgdir}/usr/share/bash-completion/completions/sqv"
+	install -Dm 644 target/_sqv -t "${pkgdir}/usr/share/zsh/site-functions"
+	install -Dm 644 target/sqv.fish -t "${pkgdir}/usr/share/fish/vendor_completions.d"
+
+  install -Dm 644 sqv/README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list