[arch-commits] Commit in lib32-libsodium/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Fri Jan 11 08:48:37 UTC 2019


    Date: Friday, January 11, 2019 @ 08:48:36
  Author: alucryd
Revision: 422362

upgpkg: lib32-libsodium 1.0.17-1

Modified:
  lib32-libsodium/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-11 08:33:28 UTC (rev 422361)
+++ PKGBUILD	2019-01-11 08:48:36 UTC (rev 422362)
@@ -5,20 +5,28 @@
 # Contributor: Alessio Sergi <asergi at archlinux.us>
 
 pkgname=lib32-libsodium
-pkgver=1.0.16
+pkgver=1.0.17
 pkgrel=1
-pkgdesc='P(ortable|ackageable) NaCl-based crypto library'
-arch=('x86_64')
+pkgdesc='A modern, portable, easy to use crypto library'
+arch=(x86_64)
 url='https://github.com/jedisct1/libsodium'
-license=('custom:ISC')
-depends=('lib32-glibc' 'libsodium')
-source=("https://download.libsodium.org/libsodium/releases/libsodium-${pkgver}.tar.gz"{,.sig})
-validpgpkeys=('54A2B8892CC3D6A597B92B6C210627AABA709FE1') # Frank Denis
-sha256sums=('eeadc7e1e1bcef09680fb4837d448fbdf57224978f865ac1c16745868fbd0533'
-            'SKIP')
+license=(custom:ISC)
+depends=(
+  lib32-glibc
+  libsodium
+)
+makedepends=(git)
+source=(git+ihttps://github.com/jedisct1/libsodium.git#tag=${pkgver})
+sha256sums=(SKIP)
 
+prepare() {
+  cd libsodium
+
+  ./autogen.sh
+}
+
 build() {
-  cd libsodium-${pkgver}
+  cd libsodium
 
   export CC='gcc -m32'
   export PKG_CONFIG_LIBDIR='/usr/lib32/pkgconfig'
@@ -30,7 +38,7 @@
 }
 
 package() {
-  cd libsodium-${pkgver}
+  cd libsodium
 
   make DESTDIR="${pkgdir}" install
   rm -rf "${pkgdir}"/{etc,usr/{bin,lib,include,share}}


More information about the arch-commits mailing list