aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opmsg/APKBUILD
blob: c73cf8be7b32db86a9f1f94cc8f5e6c826c2d815 (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: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=opmsg
pkgver=1.84
pkgrel=1
pkgdesc="opmsg gpg-like encryption system"
url="https://github.com/stealth/opmsg"
arch="all"
license="GPL-3.0-or-later"
makedepends="openssl-dev>3"
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 all contrib
}

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

sha512sums="
055795e9fde157bd43f2ff124800e5f1e4d8e0349f0acbf6afe6e3c3855f01bcb0068051e0d22aa454ff2f95b6320c18823e8e066d36bcfa0f560e561aa69134  opmsg-1.84.tar.gz
"