[arch-commits] Commit in argon2/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Christian Hesse eworm at archlinux.org
Tue Jul 2 18:54:35 UTC 2019


    Date: Tuesday, July 2, 2019 @ 18:54:34
  Author: eworm
Revision: 357238

archrelease: copy trunk to testing-x86_64

Added:
  argon2/repos/testing-x86_64/
  argon2/repos/testing-x86_64/PKGBUILD
    (from rev 357237, argon2/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: argon2/repos/testing-x86_64/PKGBUILD (from rev 357237, argon2/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-07-02 18:54:34 UTC (rev 357238)
@@ -0,0 +1,34 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+
+pkgname=argon2
+pkgver=20190702
+pkgrel=1
+pkgdesc='A password-hashing function (reference C implementation)'
+arch=('x86_64')
+url='https://github.com/P-H-C/phc-winner-argon2'
+license=('Apache' 'custom:CC0')
+depends=('glibc')
+source=("https://github.com/P-H-C/phc-winner-argon2/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('daf972a89577f8772602bf2eb38b6a3dd3d922bf5724d45e7f9589b5e830442c')
+
+build() {
+  cd "$srcdir/phc-winner-$pkgname-$pkgver"
+
+  make OPTTARGET='none' LIBRARY_REL='lib'
+}
+
+check() {
+  cd "$srcdir/phc-winner-$pkgname-$pkgver"
+
+  make OPTTARGET='none' LIBRARY_REL='lib' test
+}
+
+package() {
+  cd "$srcdir/phc-winner-$pkgname-$pkgver"
+
+  make OPTTARGET='none' LIBRARY_REL='lib' DESTDIR="$pkgdir" install
+
+  install -D -m0644 LICENSE "${pkgdir}/usr/share/licenses/argon2/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list