aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opmsg/APKBUILD
blob: 2690cf2dd153934a8fd4db08e9e54fc219d99200 (plain) (blame)
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: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=opmsg
pkgver=1.78
pkgrel=2
pkgdesc="opmsg gpg-like encryption system"
url="https://github.com/stealth/opmsg"
arch="all"
license="GPL-3.0-or-later"
makedepends="openssl-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 opmsg opmux
}

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

sha512sums="bfd3a9dfcc5082f4f7e3988d31c9e7ef499dd9726565f8fa21d631698c5821bcf080ff2b46488f1a93a997ff76a6e106343d85358b25a2785ce184419372cd23  opmsg-1.78.tar.gz"