aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opmsg/APKBUILD
blob: dfe1861751c26f8611e4c1a3bd7e7f050349ada3 (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
# Contributor: stef <l0ls0fo2i@ctrlc.hu>
# Maintainer:
pkgname=opmsg
pkgver=1.77
pkgrel=0
pkgdesc="opmsg gpg-like encryption system"
url="https://github.com/stealth/opmsg"
arch="all"
license="GPL-3.0-or-later"
makedepends="libressl-dev"
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="346d989981291d266d71e06f10052c4249549445b5f2e496036311ff2cda33cef5b4f23ce61ff14391db340426af89f7fc14cde90b8837103c9ed5a2a8b03b62  opmsg-1.77.tar.gz"