[arch-commits] Commit in lib32-libsodium (3 files)
Maxime Gauduin
alucryd at archlinux.org
Fri Aug 19 20:25:22 UTC 2016
Date: Friday, August 19, 2016 @ 20:25:22
Author: alucryd
Revision: 187101
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libsodium/repos/
lib32-libsodium/repos/multilib-x86_64/
lib32-libsodium/repos/multilib-x86_64/PKGBUILD
(from rev 187100, lib32-libsodium/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: lib32-libsodium/repos/multilib-x86_64/PKGBUILD (from rev 187100, lib32-libsodium/trunk/PKGBUILD)
===================================================================
--- repos/multilib-x86_64/PKGBUILD (rev 0)
+++ repos/multilib-x86_64/PKGBUILD 2016-08-19 20:25:22 UTC (rev 187101)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: oi_wtf <brainpower at mailbox.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: namelessjon <jonathan.stott at gmail.com>
+# Contributor: Alessio Sergi <asergi at archlinux.us>
+
+pkgname=lib32-libsodium
+pkgver=1.0.11
+pkgrel=1
+pkgdesc='P(ortable|ackageable) NaCl-based crypto library'
+arch=('i686' 'x86_64')
+url='https://github.com/jedisct1/libsodium'
+license=('custom:ISC')
+depends=('lib32-glibc' 'libsodium')
+source=("http://download.libsodium.org/libsodium/releases/libsodium-${pkgver}.tar.gz")
+sha256sums=('a14549db3c49f6ae2170cbbf4664bd48ace50681045e8dbea7c8d9fb96f9c765')
+
+build() {
+ cd libsodium-${pkgver}
+
+ export CC='gcc -m32'
+ export PKG_CONFIG_LIBDIR='/usr/lib32/pkgconfig'
+
+ ./configure \
+ --prefix='/usr' \
+ --libdir='/usr/lib32'
+ make
+}
+
+package() {
+ cd libsodium-${pkgver}
+
+ make DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}"/{etc,usr/{bin,lib,include,share}}
+
+ install -dm 755 "${pkgdir}"/usr/share/licenses
+ ln -s libsodium "${pkgdir}"/usr/share/licenses/lib32-libsodium
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list