aboutsummaryrefslogtreecommitdiffstats
path: root/testing/minisign/APKBUILD
blob: 80395fc6b9448031e259e42f290f2389bfb204b6 (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
# Maintainer: Michael Zuo <muh.muhten@gmail.com>
pkgname=minisign
pkgver=0.6
pkgrel=0
pkgdesc=" A dead simple tool to sign files and verify signatures. "
url="https://jedisct1.github.io/minisign"
arch="all"
license="ISC"
depends=""
makedepends="cmake libsodium-dev"
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/jedisct1/minisign/archive/$pkgver.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"
build() {
	cd "$_builddir"
	cmake -DCMAKE_INSTALL_PREFIX=/usr || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make install DESTDIR="$pkgdir" || return 1
}

md5sums="7f570d7e1502fc7efb0e34ba251bfde7  minisign-0.6.tar.gz"
sha256sums="f2267a07bece923d4d174ccacccc56eff9c05b28c4d971e601de896355442f09  minisign-0.6.tar.gz"
sha512sums="c7d6d61f2ebd0417ebdb8f096fd474d45f375a7e0b95d27a048a2739f2b86d2b7da013f4220eef1a2ded29514a22b0b31908165c5a9ae5629b3431b3d50d0ea6  minisign-0.6.tar.gz"