summaryrefslogtreecommitdiff
path: root/testing/opmsg/APKBUILD
blob: fdfd82dfa6b7f11afb8d87afacbe44e70f388daf (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
# Contributor: stef <l0ls0fo2i@ctrlc.hu>
# Maintainer:
pkgname=opmsg
pkgver=1.76
pkgrel=1
pkgdesc="opmsg gpg-like encryption system"
url="https://github.com/stealth/opmsg"
arch="all"
license="GPL-3.0-or-later"
depends=""
makedepends="libressl-dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/stealth/opmsg/archive/rel-${pkgver}s.tar.gz"
builddir="$srcdir/$pkgname-rel-${pkgver}s"

build() {
	cd "$builddir/src"
	make DEFS="-DHAVE_BN_GENCB_NEW=0 -DHAVE_LIBRESSL" opmsg opmux
}

package() {
	cd "$builddir/src"
	mkdir -p "$pkgdir"/usr/bin
	cp opmsg opmux "$pkgdir"/usr/bin
}

sha512sums="b2605d73295722a9d66b9add60f7d4c765bef5abc45bcddf77239b590fda54b84ff79c8e7cf64749b90d349809311a3bcb453a2deec2bb785a2c2fde2c58d85b  opmsg-1.76.tar.gz"