summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Sieverdingbeck2018-08-05 23:05:14 +0200
committerIngo Sieverdingbeck2018-08-05 23:05:14 +0200
commitd632ad3fecc001ea8e7e8bd75f7f0ecf8a750d1e (patch)
tree3b1bdec793caeff1037bcbfe4982656345058822
downloadaur-d632ad3fecc001ea8e7e8bd75f7f0ecf8a750d1e.tar.gz
caff-svn sources are now available as git.
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD45
2 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..63d21b0cf34
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = caff-git
+ pkgdesc = CA Fire and Forget is a script that helps you in keysigning.
+ pkgver = r791.d6f2296
+ pkgrel = 1
+ url = https://salsa.debian.org/stappers/pgp-tools
+ arch = any
+ license = GPL
+ makedepends = git
+ depends = gnupg
+ depends = perl
+ depends = perl-gnupg-interface
+ depends = perl-mime-tools
+ depends = perl-mailtools
+ depends = perl-text-template
+ depends = perl-any-moose
+ depends = perl-net-idn-encode
+ conflicts = signing-party
+ conflicts = caff-svn
+ source = caff::git+https://salsa.debian.org/stappers/pgp-tools.git
+ md5sums = SKIP
+
+pkgname = caff-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aeea3322ca9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Ingo Sieverdingbeck <aur@sieverdingbeck.com>
+
+pkgname=caff-git
+_pkgname=caff
+pkgver=r791.d6f2296
+pkgrel=1
+pkgdesc="CA Fire and Forget is a script that helps you in keysigning."
+arch=('any')
+url="https://salsa.debian.org/stappers/pgp-tools"
+license=('GPL')
+depends=('gnupg' 'perl' 'perl-gnupg-interface' 'perl-mime-tools' 'perl-mailtools' 'perl-text-template' 'perl-any-moose' 'perl-net-idn-encode')
+makedepends=('git')
+conflicts=('signing-party' 'caff-svn')
+md5sums=('SKIP')
+source=("$_pkgname::git+https://salsa.debian.org/stappers/pgp-tools.git")
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}/${_pkgname}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}/${_pkgname}"
+
+ install -D -m755 "${srcdir}/${_pkgname}/${_pkgname}/caff" \
+ "${pkgdir}/usr/bin/caff"
+ install -D -m755 "${srcdir}/${_pkgname}/${_pkgname}/pgp-clean" \
+ "${pkgdir}/usr/bin/pgp-clean"
+ install -D -m755 "${srcdir}/${_pkgname}/${_pkgname}/pgp-fixkey" \
+ "${pkgdir}/usr/bin/pgp-fixkey"
+
+ install -D -m644 "${srcdir}/${_pkgname}/${_pkgname}/caff.1" \
+ "${pkgdir}/usr/share/man/man1/caff.1"
+ install -D -m644 "${srcdir}/${_pkgname}/${_pkgname}/pgp-clean.1" \
+ "${pkgdir}/usr/share/man/man1/pgp-clean.1"
+ install -D -m644 "${srcdir}/${_pkgname}/${_pkgname}/pgp-fixkey.1" \
+ "${pkgdir}/usr/share/man/man1/pgp-fixkey.1"
+}
+
+# vim:set ts=2 sw=2 et: