diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-08-11 21:50:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-08-24 22:50:59 +0000 |
commit | 20412e4430bff12378f461a5b0b0bbe310440a97 (patch) | |
tree | c80e97c79920786770841bc3c9936f8eceb1564f /testing/minisign | |
parent | 45a9b72029f932172a735ab8750e3c911384d8e3 (diff) | |
download | aports-20412e4430bff12378f461a5b0b0bbe310440a97.tar.bz2 aports-20412e4430bff12378f461a5b0b0bbe310440a97.tar.xz |
testing/minisign: upgrade to 0.7, modernize and add doc package.
Man page was added in minisign 0.7.
Diffstat (limited to 'testing/minisign')
-rw-r--r-- | testing/minisign/APKBUILD | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/testing/minisign/APKBUILD b/testing/minisign/APKBUILD index 98827d5461..50bcabb4b5 100644 --- a/testing/minisign/APKBUILD +++ b/testing/minisign/APKBUILD @@ -1,28 +1,26 @@ # Maintainer: Michael Zuo <muh.muhten@gmail.com> pkgname=minisign -pkgver=0.6 +pkgver=0.7 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="" +subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/jedisct1/minisign/archive/$pkgver.tar.gz" -_builddir="$srcdir/$pkgname-$pkgver" +builddir="$srcdir/$pkgname-$pkgver" + build() { - cd "$_builddir" - cmake -DCMAKE_INSTALL_PREFIX=/usr || return 1 - make || return 1 + cd "$builddir" + cmake -DCMAKE_INSTALL_PREFIX=/usr + make } package() { - cd "$_builddir" - make install DESTDIR="$pkgdir" || return 1 + cd "$builddir" + make install DESTDIR="$pkgdir" } -md5sums="7f570d7e1502fc7efb0e34ba251bfde7 minisign-0.6.tar.gz" -sha256sums="f2267a07bece923d4d174ccacccc56eff9c05b28c4d971e601de896355442f09 minisign-0.6.tar.gz" -sha512sums="c7d6d61f2ebd0417ebdb8f096fd474d45f375a7e0b95d27a048a2739f2b86d2b7da013f4220eef1a2ded29514a22b0b31908165c5a9ae5629b3431b3d50d0ea6 minisign-0.6.tar.gz" +sha512sums="d23bab6d9c37132ccbc70209667e327704d24755d546504dc08c57b07177aeb8317ea8e1c54da5608d6f283cd7624228f9e932134f06a530ecb5eaf91390b7cc minisign-0.7.tar.gz" |