Package Details: mingw-w64-libsodium 1.0.16-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-libsodium.git (read-only)
Package Base: mingw-w64-libsodium
Description: P(ortable|ackageable) NaCl-based crypto library (mingw-w64)
Upstream URL: https://github.com/jedisct1/libsodium
Keywords: libsodium mingw sodium
Licenses: custom:ISC
Submitter: kosaka
Maintainer: Zack_Emmert
Last Packager: Zack_Emmert
Votes: 1
Popularity: 0.000030
First Submitted: 2016-06-18 21:08
Last Updated: 2018-05-19 15:26

Latest Comments

seo.disparate commented on 2019-09-22 08:34

Made a working PKGBUILD for version 1.0.18, also added minisign verification of source tarball. (For some reason, all http links in the diff are showing with angle brackets in them, some weird markdown thing I'm not sure how to fix.)

diff --git a/PKGBUILD b/PKGBUILD
index [`7f4b230`](https://aur.archlinux.org/cgit/aur.git/commit/?h=mingw-w64-libsodium&id=7f4b230)..a3cdf2f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,20 +7,26 @@

 pkgname=mingw-w64-libsodium
 _pkgname=libsodium
-pkgver=1.0.16
+pkgver=1.0.18
 pkgrel=1
 pkgdesc="P(ortable|ackageable) NaCl-based crypto library (mingw-w64)"
 arch=('any')
 url="<https://github.com/jedisct1/libsodium>"
 license=('custom:ISC')
 depends=('mingw-w64-crt')
-makedepends=('mingw-w64-gcc' 'mingw-w64-configure')
-source=("<https://github.com/jedisct1/>$_pkgname/releases/download/${pkgver}/$_pkgname-${pkgver}.tar.gz")
-sha512sums=('SKIP')
+makedepends=('mingw-w64-gcc' 'mingw-w64-configure' 'minisign')
+source=("<https://github.com/jedisct1/>$_pkgname/releases/download/${pkgver}-RELEASE/$_pkgname-${pkgver}.tar.gz"
+"<https://github.com/jedisct1/>$_pkgname/releases/download/${pkgver}-RELEASE/$_pkgname-${pkgver}.tar.gz.minisig")
+sha512sums=('SKIP' 'SKIP')
 options=(!strip !buildflags staticlibs)

+_minisign_pubkey="RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3"
 _architectures="i686-w64-mingw32 x86_64-w64-mingw32"

+prepare() {
+  minisign -V -P $_minisign_pubkey -m $_pkgname-${pkgver}.tar.gz
+}
+
 build() {
   cd "$_pkgname-$pkgver"

Zack_Emmert commented on 2018-05-19 17:46

Updated to version 1.0.16

eimis commented on 2018-05-18 20:29

1.0.16 PKGBUILD: https://bpaste.net/show/622fd21e1a37