Commit 49751a9a authored by Shiz ...'s avatar Shiz ... Committed by Jakub Jirutka

testing/gpg-remailer: new aport

https://fbb-git.github.io/gpg-remailer/
decrypt messages and re-encrypt them to a well-defined group
parent 31f4e002
# Contributor: Shiz <hi@shiz.me>
# Maintainer: Shiz <hi@shiz.me>
pkgname=gpg-remailer
pkgver=3.02.01
pkgrel=0
pkgdesc="Decrypt GPG messages and re-encrypt them to a well-defined group"
url="https://fbb-git.github.io/gpg-remailer/"
arch="all"
license="GPL3+"
makedepends="icmake bash yodl bobcat-dev"
subpackages="$pkgname-doc"
source="gpg-remailer-$pkgver.tar.gz::https://github.com/fbb-git/gpg-remailer/archive/$pkgver.tar.gz
avoid-gnuisms.patch"
builddir="$srcdir/gpg-remailer-$pkgver/gpg-remailer"
build() {
cd "$builddir"
./build program strip
./build man
}
check() {
cd "$builddir"
./tmp/bin/binary --version
}
package() {
cd "$builddir"
./build install bm "$pkgdir"
# remove HTML documentation.
rm -rf "$pkgdir"/usr/share/doc
}
sha512sums="c26117d8c58989ce1231b40fef99919ada1df70652aca6b309baab38186aadb5b2fc73c652f5d47cd2b044abe086338a4124a7c6c0df241d330e22f2711b1a76 gpg-remailer-3.02.01.tar.gz
7b3528add0f0c62f999719499fbd043b0926f9440fc0a626e8b2de26ca2aebd6dfde8e3d6180ee45cf45c9883908975266b4e91a6b998178c35a57dcd3a1f937 avoid-gnuisms.patch"
--- a/icmake/installer
+++ b/icmake/installer
@@ -5,14 +5,14 @@
exit 0
fi
-for src in `find -mindepth 1 -type d` # create missing target dirs
+for src in `find . -mindepth 1 -type d` # create missing target dirs
do
[ ! -e $1$src ] && mkdir -p $1$src
done
-for file in `find -type f -or -type l`
+for file in `find . -type f -or -type l`
do
# echo installing $1$file
- cp -d --preserve=timestamps $file $1$file
+ cp -H $file $1$file
done
--- a/icmake/findall
+++ b/icmake/findall
@@ -15,7 +15,7 @@
if (pattern != "")
pattern = "-name '" + pattern + "'";
- entries = backtick(cmd + " " + pattern + " -printf \"%f\\n\"");
+ entries = backtick(cmd + " " + pattern + " -exec basename {} \\;");
for (idx = listlen(entries); idx--; )
ret += (list)cutEoln(entries[idx]);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment