aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opmsg/APKBUILD
blob: 7fcf4eaa227eff87abed9d65e11fe1ad175f0308 (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=0
pkgdesc="opmsg gpg-like encryption system"
url="https://github.com/stealth/opmsg"
arch="all"
license="GPL3+"
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"