Date: Monday, January 7, 2019 @ 20:53:03 Author: felixonmars Revision: 420978
archrelease: copy trunk to community-x86_64 Added: libsodium/repos/community-x86_64/PKGBUILD (from rev 420977, libsodium/trunk/PKGBUILD) Deleted: libsodium/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 89 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-01-07 20:52:30 UTC (rev 420977) +++ PKGBUILD 2019-01-07 20:53:03 UTC (rev 420978) @@ -1,45 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: namelessjon <jonathan.st...@gmail.com> -# Contributor: Alessio Sergi <asergi at archlinux dot us> - -pkgname=libsodium -pkgver=1.0.16 -pkgrel=1 -pkgdesc="P(ortable|ackageable) NaCl-based crypto library" -arch=('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=('eab917d599c9c1fe971a6ecf915b9a6476ccec2d46cf23cbfbf06dd3833089b422f192de4d55f17b93362f1251ba8d5ddeb95ced1a422a3a2631b4b82553907f' - '5facb6be0c4e8d390f685a1fce506a46e2768e7eae02b3b67ce7a168c6fbcd16c24d8a52fdbf330209bf9598ab8e4043c55a839795a17062b6f7e892d7a68bd6') -_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-x86_64/PKGBUILD (from rev 420977, libsodium/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-07 20:53:03 UTC (rev 420978) @@ -0,0 +1,44 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: namelessjon <jonathan.st...@gmail.com> +# Contributor: Alessio Sergi <asergi at archlinux dot us> + +pkgname=libsodium +pkgver=1.0.17 +pkgrel=1 +pkgdesc="P(ortable|ackageable) NaCl-based crypto library" +arch=('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=('7cc9e4f11e656008ce9dff735acea95acbcb91ae4936de4d26f7798093766a77c373e9bd4a7b45b60ef8a11de6c55bc8dcac13bebf8c23c671d0536430501da1' + '79f7df0df9a4245db109f286816d8a5ce12172e5fd4b0e2a68ea0a27d4c5c801a1892b6f7576a7327a1ac5133e3f22a8f6ef802ac8065da47b3bd6bdacca9a91') +_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: