[arch-commits] Commit in (4 files)

Levente Polyak anthraxx at gemini.archlinux.org
Wed Aug 4 00:24:50 UTC 2021


    Date: Wednesday, August 4, 2021 @ 00:24:49
  Author: anthraxx
Revision: 993596

addpkg: sequoia-sq 0.25.0-1

Added:
  sequoia-sq/
  sequoia-sq/repos/
  sequoia-sq/trunk/
  sequoia-sq/trunk/PKGBUILD

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

Added: sequoia-sq/trunk/PKGBUILD
===================================================================
--- sequoia-sq/trunk/PKGBUILD	                        (rev 0)
+++ sequoia-sq/trunk/PKGBUILD	2021-08-04 00:24:49 UTC (rev 993596)
@@ -0,0 +1,44 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=sequoia-sq
+pkgver=0.25.0
+pkgrel=1
+pkgdesc='Command-line frontends for Sequoia'
+url='https://sequoia-pgp.org/'
+arch=('x86_64')
+license=('GPL2')
+groups=('sequoia')
+replaces=('sequoia')
+depends=('glibc' 'nettle' 'libnettle.so' 'nettle' 'libhogweed.so' 'libnettle.so'
+         'bzip2' 'libbz2.so' 'gcc-libs' 'gmp' 'openssl')
+makedepends=('git' 'cargo' 'clang')
+source=(sequoia::"git+https://gitlab.com/sequoia-pgp/sequoia.git#tag=sq/v${pkgver}?signed")
+sha512sums=('SKIP')
+validpgpkeys=(
+  D2F2C5D45BE9FDE6A4EE0AAF31855247603831FD # justus at sequoia-pgp.org
+  CBCD8F030588653EEDD7E2659B7DD433F254904A # justus at sequoia-pgp.org
+)
+
+build() {
+  cd sequoia/sq
+  export CARGO_TARGET_DIR=../target
+  cargo build --release --locked --features 'crypto-nettle compression net autocrypt'
+}
+
+check() {
+  cd sequoia/sq
+  cargo test --release --locked --features 'crypto-nettle compression net autocrypt'
+}
+
+package() {
+  cd sequoia
+  install -Dm 755 target/release/sq -t "${pkgdir}/usr/bin"
+
+	install -Dm 644 target/sq.bash "${pkgdir}/usr/share/bash-completion/completions/sq"
+	install -Dm 644 target/_sq -t "${pkgdir}/usr/share/zsh/site-functions"
+	install -Dm 644 target/sq.fish -t "${pkgdir}/usr/share/fish/vendor_completions.d"
+
+  install -Dm 644 sq/man-sq-net-autocrypt/*.1 -t "${pkgdir}/usr/share/man/man1"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list