aboutsummaryrefslogtreecommitdiffstats
path: root/testing/minisign
diff options
context:
space:
mode:
authorMichael Zuo <muh.muhten@gmail.com>2016-03-15 16:00:00 -0400
committerTimo Teräs <timo.teras@iki.fi>2016-03-18 06:32:03 +0000
commitf6b128007fdfafa3cd3e96dfcad767b55272c4c6 (patch)
tree720b9469833e6d6ab53f3ee7730481d12b2f81a6 /testing/minisign
parent39cf49023af117dc9a75754f01fe448958bdd8f1 (diff)
downloadaports-f6b128007fdfafa3cd3e96dfcad767b55272c4c6.tar.bz2
aports-f6b128007fdfafa3cd3e96dfcad767b55272c4c6.tar.xz
testing/minisign: new aport
Diffstat (limited to 'testing/minisign')
-rw-r--r--testing/minisign/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/minisign/APKBUILD b/testing/minisign/APKBUILD
new file mode 100644
index 0000000000..80395fc6b9
--- /dev/null
+++ b/testing/minisign/APKBUILD
@@ -0,0 +1,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"