aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gpg-remailer/APKBUILD
blob: f9d99ca6b9ae490cf2fb3cdfd9b0be428f15e831 (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
# Contributor: Shiz <hi@shiz.me>
# Maintainer: Shiz <hi@shiz.me>
pkgname=gpg-remailer
pkgver=3.04.05
pkgrel=0
pkgdesc="Decrypt GPG messages and re-encrypt them to a well-defined group"
url="https://gitlab.com/fbb-git/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="https://gitlab.com/fbb-git/gpg-remailer/-/archive/$pkgver/gpg-remailer-$pkgver.tar.gz"
builddir="$srcdir/gpg-remailer-$pkgver/gpg-remailer"

build() {
	./build program strip
	./build man
}

check() {
	./tmp/bin/binary --version
}

package() {
	./build install bm "$pkgdir"
	# remove HTML documentation.
	rm -rf "$pkgdir"/usr/share/doc
}

sha512sums="c3bffe98077131599484c3ea847aeecad4e3e057d69979134bf62347f792473ad8ac1b39076abc5e981745f47b03090172213942ef2de71b365cf780d42601c7  gpg-remailer-3.04.05.tar.gz"