# Contributor: stef # Maintainer: Roberto Oliveira pkgname=opmsg pkgver=1.78 pkgrel=1 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="bfd3a9dfcc5082f4f7e3988d31c9e7ef499dd9726565f8fa21d631698c5821bcf080ff2b46488f1a93a997ff76a6e106343d85358b25a2785ce184419372cd23 opmsg-1.78.tar.gz"