aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gpg-remailer/APKBUILD
blob: deab95a53924ec2597a29146efeaaddd16166033 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: Shiz <hi@shiz.me>
# Maintainer: Shiz <hi@shiz.me>
pkgname=gpg-remailer
pkgver=3.02.01
pkgrel=1
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+"
depends="gnupg mailutils"
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"