[arch-commits] Commit in signing-party/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:11:08 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:11:07
  Author: felixonmars
Revision: 659599

archrelease: copy trunk to community-staging-x86_64

Added:
  signing-party/repos/community-staging-x86_64/
  signing-party/repos/community-staging-x86_64/PKGBUILD
    (from rev 659595, signing-party/trunk/PKGBUILD)
  signing-party/repos/community-staging-x86_64/gpgwrap_makefile.patch
    (from rev 659595, signing-party/trunk/gpgwrap_makefile.patch)

------------------------+
 PKGBUILD               |   85 +++++++++++++++++++++++++++++++++++++++++++++++
 gpgwrap_makefile.patch |   38 +++++++++++++++++++++
 2 files changed, 123 insertions(+)

Copied: signing-party/repos/community-staging-x86_64/PKGBUILD (from rev 659595, signing-party/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:11:07 UTC (rev 659599)
@@ -0,0 +1,85 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: C. Dominik Bódi <dominik dot bodi at gmx dot de>
+
+pkgname=signing-party
+pkgver=2.8
+pkgrel=2
+pkgdesc="Collection for all kinds of pgp related things, including signing scripts, party preparation scripts, etc."
+arch=(x86_64)
+url="https://salsa.debian.org/signing-party-team/signing-party"
+license=(GPL)
+depends=(libmd
+         perl-class-methodmaker
+         perl-gnupg-interface
+         perl-mailtools
+         perl-mime-tools
+         perl-net-idn-encode 
+         perl-term-readkey
+         perl-text-template
+         qprint)
+optdepends=('python: keyart support'
+            'imagemagick: photo uid support in gpgsigs'
+            'perl-gd: springgraph support'
+            'qrencode: QR code support in gpg-key2latex'
+            'texlive-latexextra: QR code support in gpg-key2latex'
+            'noto-fonts: fonts for pretty printouts'
+            'noto-fonts-cjk: fonts for pretty printouts')
+source=("${url}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.bz2"
+        'gpgwrap_makefile.patch')
+sha256sums=('e31e913c152588b77cd46ac96f136e5f4bd70d6e51c9bcf12dca861c277ccb4f'
+            '1a5b7ec8dca7642b744270ab5011707f9f4b732cba8062c76b5195c40f13f5e0')
+
+prepare() {
+    cd ${pkgname}-v${pkgver}
+    # Remove useless buggy Makefile
+    rm gpgwrap/src/Makefile
+    patch -p1 -i ../gpgwrap_makefile.patch
+}
+
+build() {
+    cd ${pkgname}-v${pkgver}
+    make
+}
+
+package() {
+    cd ${pkgname}-v${pkgver}
+    make DESTDIR="${pkgdir}" install
+
+    # Manually install all files the Makefiles in the subpackages are not installing
+    # TODO: Fix this upstream instead
+
+    install -Dm644 README -t "${pkgdir}"/usr/share/doc/signing-party/
+
+    for project in caff gpgdir gpg-key2latex gpg-key2ps gpglist gpg-mailkeys gpgparticipants gpgsigs ; do
+        install -Dm755 ${project}/${project} -t "${pkgdir}"/usr/bin/
+        install -Dm644 ${project}/${project}.1 -t "${pkgdir}"/usr/share/man/man1/
+    done
+
+    install -Dm755 caff/{pgp-clean,pgp-fixkey} -t "${pkgdir}"/usr/bin/
+    install -Dm644 caff/{pgp-clean,pgp-fixkey}.1 -t "${pkgdir}"/usr/share/man/man1/
+    install -Dm644 caff/{caffrc.sample,README*} -t "${pkgdir}"/usr/share/doc/signing-party/caff/
+
+    install -Dm644 gpg-key2ps/README -t "${pkgdir}"/usr/share/doc/signing-party/gpg-key2ps/
+
+    install -Dm755 gpgparticipants/gpgparticipants-prefill -t "${pkgdir}"/usr/bin/
+    install -Dm644 gpgparticipants/gpgparticipants-prefill.1 -t "${pkgdir}"/usr/share/man/man1/
+
+    install -Dm644 gpgsigs/gpgsigs-lt2k5{,-annotated}.txt -t "${pkgdir}"/usr/share/doc/signing-party/examples/gpgsigs/
+
+    install -Dm755 gpgwrap/src/gpgwrap -t "${pkgdir}"/usr/bin/
+    install -Dm644 gpgwrap/doc/gpgwrap.1 -t "${pkgdir}"/usr/share/man/man1/
+
+    install -Dm644 keyanalyze/{keyanalyze,process_keys,pgpring/pgpring}.1 -t "${pkgdir}"/usr/share/man/man1/
+    install -Dm755 keyanalyze/{allkeys,analyze}.sh -t "${pkgdir}"/usr/share/doc/signing-party/examples/keyanalyze/
+    install -Dm644 keyanalyze/README -t "${pkgdir}"/usr/share/doc/signing-party/examples/keyanalyze/
+
+    install -Dm755 keyanalyze/scripts/* -t "${pkgdir}"/usr/share/doc/signing-party/examples/keyanalyze/scripts/
+    chmod 644 "${pkgdir}"/usr/share/doc/signing-party/examples/keyanalyze/scripts/top50comments.txt
+    install -Dm755 keyanalyze/willy/* -t "${pkgdir}"/usr/share/doc/signing-party/examples/keyanalyze/willy/
+    chmod 644 "${pkgdir}"/usr/share/doc/signing-party/examples/keyanalyze/willy/README
+
+    install -Dm755 keyart/keyart -t "${pkgdir}"/usr/bin/
+    install -Dm644 keyart/doc/keyart.1 -t "${pkgdir}"/usr/share/man/man1/
+    install -Dm644 keyart/{README,doc/{druken-bishop.txt,party-worksheet}} -t "${pkgdir}"/usr/share/doc/signing-party/keyart/
+    install -Dm755 keyart/doc/examples/party.sh -t "${pkgdir}"/usr/share/doc/signing-party/examples/keyart/
+}

Copied: signing-party/repos/community-staging-x86_64/gpgwrap_makefile.patch (from rev 659595, signing-party/trunk/gpgwrap_makefile.patch)
===================================================================
--- community-staging-x86_64/gpgwrap_makefile.patch	                        (rev 0)
+++ community-staging-x86_64/gpgwrap_makefile.patch	2020-07-07 17:11:07 UTC (rev 659599)
@@ -0,0 +1,38 @@
+From: Franck Joncourt <franck.mail at dthconnex.com>
+Subject: [PATCH] fixes/gpgwrap_makefile
+
+This allows the main Makefile not to fail when trying to install gpgwrap.
+It just adds the install target in the gpgwrap Makefile.
+
+That could be avoided by handling differently the gpgwrap project in the main
+Makefile, but then it is going to be the mess.
+
+The new target does not install anything since so far the man page is currently
+installed from debian/rules, and thus everything to install gpgwrap is added to
+debian.rules for consistency purpose.
+
+Signed-off-by: Franck Joncourt <franck.mail at dthconnex.com>
+
+---
+ gpgwrap/Makefile |    4 +++-
+ 1 files changed, 3 insertions(+), 1 deletions(-)
+
+diff --git a/gpgwrap/Makefile b/gpgwrap/Makefile
+index 30064df..3dc65b9 100644
+--- a/gpgwrap/Makefile
++++ b/gpgwrap/Makefile
+@@ -1,9 +1,11 @@
+ MAKE=make
+ 
+-.PHONY: all clean
++.PHONY: all clean install
+ 
+ all:
+-	cd src && ${MAKE} all DIET="${DIET}"
++	cd src && ${MAKE} gpgwrap DIET="${DIET}"
+ 
++install:
++
+ clean:
+ 	cd src && ${MAKE} clean
+-- 



More information about the arch-commits mailing list