[arch-commits] Commit in libsodium/repos (4 files)

Felix Yan felixonmars at archlinux.org
Fri Oct 6 13:42:48 UTC 2017


    Date: Friday, October 6, 2017 @ 13:42:47
  Author: felixonmars
Revision: 261918

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  libsodium/repos/community-staging-i686/
  libsodium/repos/community-staging-i686/PKGBUILD
    (from rev 261917, libsodium/trunk/PKGBUILD)
  libsodium/repos/community-staging-x86_64/
  libsodium/repos/community-staging-x86_64/PKGBUILD
    (from rev 261917, libsodium/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   45 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   45 ++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

Copied: libsodium/repos/community-staging-i686/PKGBUILD (from rev 261917, libsodium/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-10-06 13:42:47 UTC (rev 261918)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: namelessjon <jonathan.stott at gmail.com>
+# Contributor: Alessio Sergi <asergi at archlinux dot us>
+
+pkgname=libsodium
+pkgver=1.0.15
+pkgrel=1
+pkgdesc="P(ortable|ackageable) NaCl-based crypto library"
+arch=('i686' 'x86_64')
+url="https://github.com/jedisct1/libsodium"
+license=('custom:ISC')
+depends=('glibc')
+makedepends=('minisign')
+source=("https://download.libsodium.org/libsodium/releases/libsodium-$pkgver.tar.gz"{,.minisig})
+sha512sums=('299a208f8342793d13498e95b23f1749f5b5b13ec276db3ec401130615e837ef475b6a1283b6e87a5f8227d23e70e38ca721073dadd5dc88fe4aff342aa64adc'
+            '4c207af4133e0799f70e4646970820ce88f69f6cdbdf8f890bc3c468fe79b1c6f04a7589030f839aa0cd3b6bc2d4c95b4cdde227ea10c1597de38ddd0c621b3c')
+_validminisignkey='RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
+
+prepare() {
+  minisign -Vm $pkgname-$pkgver.tar.gz -P $_validminisignkey
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  make check
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  # install license
+  install -d -m 755 "$pkgdir/usr/share/licenses/$pkgname"
+  install -m 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: libsodium/repos/community-staging-x86_64/PKGBUILD (from rev 261917, libsodium/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-10-06 13:42:47 UTC (rev 261918)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: namelessjon <jonathan.stott at gmail.com>
+# Contributor: Alessio Sergi <asergi at archlinux dot us>
+
+pkgname=libsodium
+pkgver=1.0.15
+pkgrel=1
+pkgdesc="P(ortable|ackageable) NaCl-based crypto library"
+arch=('i686' 'x86_64')
+url="https://github.com/jedisct1/libsodium"
+license=('custom:ISC')
+depends=('glibc')
+makedepends=('minisign')
+source=("https://download.libsodium.org/libsodium/releases/libsodium-$pkgver.tar.gz"{,.minisig})
+sha512sums=('299a208f8342793d13498e95b23f1749f5b5b13ec276db3ec401130615e837ef475b6a1283b6e87a5f8227d23e70e38ca721073dadd5dc88fe4aff342aa64adc'
+            '4c207af4133e0799f70e4646970820ce88f69f6cdbdf8f890bc3c468fe79b1c6f04a7589030f839aa0cd3b6bc2d4c95b4cdde227ea10c1597de38ddd0c621b3c')
+_validminisignkey='RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
+
+prepare() {
+  minisign -Vm $pkgname-$pkgver.tar.gz -P $_validminisignkey
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  make check
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  # install license
+  install -d -m 755 "$pkgdir/usr/share/licenses/$pkgname"
+  install -m 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list