aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gpg-remailer/APKBUILD
blob: 40bc5d5457a9eef32dfd3a67564b46c1af9f3f95 (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
# Contributor: Shiz <hi@shiz.me>
# Maintainer: Shiz <hi@shiz.me>
pkgname=gpg-remailer
pkgver=3.04.03
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 !s390x" # limited by mailutils
license="GPL-3.0-or-later"
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"
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="96786db72949b19209889c2d1c30311605e5c152f89c923801831ef1617af65c827ad0995b7e312b74911a51b70e43b9d62003bc042836228f8c01faa6b965f8  gpg-remailer-3.04.03.tar.gz"