| Name |
argon2 |
| Description |
A password-hashing function (reference C implementation) |
| Version |
20190702-6 |
| Package Base |
argon2 |
| Homepage |
https://github.com/P-H-C/phc-winner-argon2 |
| Maintainers |
['Baptiste Jonglez <baptiste--aur@jonglez.org>', 'Christian Hesse <eworm@archlinux.org>'] |
| Contributors |
[] |
| Distro-repo |
https://gitlab.archlinux.org/archlinux/packaging/packages/argon2 |
| Sources |
['https://github.com/P-H-C/phc-winner-argon2/archive/20190702/argon2-20190702.tar.gz'] |
| Dependencies |
['glibc'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
[] |
| Provides |
['libargon2.so'] |
| Builddate |
23-07-2024 18:53:38 |
| Architecture |
x86_64 |
| Distro-Version |
|
| Licenses |
['Apache', 'custom:CC0'] |
| Hash |
467da2efdcef1bab8403ece5895794539b983ea7de664105a2dc821c68e8ba13 |
# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
pkgname=argon2
pkgver=20190702
pkgrel=6
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')
provides=('libargon2.so')
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 ARGON2_VERSION="${pkgver}" OPTTARGET='none' LIBRARY_REL='lib'
}
check() {
cd "$srcdir/phc-winner-$pkgname-$pkgver"
make ARGON2_VERSION="${pkgver}" OPTTARGET='none' LIBRARY_REL='lib' test
}
package() {
cd "$srcdir/phc-winner-$pkgname-$pkgver"
make ARGON2_VERSION="${pkgver}" 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: