Date: Wednesday, March 29, 2023 @ 16:02:05
  Author: dvzrv
Revision: 1430292

upgpkg: sequoia-sq 0.28.0-1: Upgrade to 0.28.0.

Remove (now included) patch.
Pin release commit instead of relying on tag (which may move).
Install man pages from correct location.

Modified:
  sequoia-sq/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-29 15:47:55 UTC (rev 1430291)
+++ PKGBUILD    2023-03-29 16:02:05 UTC (rev 1430292)
@@ -1,8 +1,9 @@
 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 
 pkgname=sequoia-sq
-pkgver=0.27.0
-pkgrel=2
+pkgver=0.28.0
+_commit=82eb0d7b240d137141fc0aaaa3dff1685bb11864  # refs/tags/sq/v0.28.0^{}
+pkgrel=1
 pkgdesc='Command-line frontends for Sequoia'
 url='https://sequoia-pgp.org/'
 arch=('x86_64')
@@ -13,7 +14,7 @@
          'bzip2' 'libbz2.so' 'gcc-libs' 'gmp' 'openssl')
 makedepends=('git' 'cargo' 'clang')
 options=('!lto')
-source=(sequoia::"git+https://gitlab.com/sequoia-pgp/sequoia.git#tag=sq/v${pkgver}?signed";)
+source=(sequoia::"git+https://gitlab.com/sequoia-pgp/sequoia.git#commit=$_commit?signed";)
 sha512sums=('SKIP')
 validpgpkeys=(
   D2F2C5D45BE9FDE6A4EE0AAF31855247603831FD # [email protected]
@@ -20,12 +21,6 @@
   CBCD8F030588653EEDD7E2659B7DD433F254904A # [email protected]
 )
 
-prepare() {
-  cd sequoia
-  # fix "error: unused return value of `Box::<T>::from_raw` that must be used"
-  git format-patch -1 --stdout 7916f90421ec | patch -Np1
-}
-
 build() {
   cd sequoia/sq
   export CARGO_TARGET_DIR=../target
@@ -45,7 +40,7 @@
        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-autocrypt/*.1 -t "${pkgdir}/usr/share/man/man1"
+  install -Dm 644 sq/man-sq/*.1 -t "${pkgdir}/usr/share/man/man1"
 }
 
 # vim: ts=2 sw=2 et:

Reply via email to