🔒 Repository is read-only – file editing is disabled.

recipes/utils/argon2/PAGBUILD.yaml main

31 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031
pkgname: argon2
pkgver: '20190702'
pkgrel: '3'
pkgdesc: 'A password-hashing function (reference C implementation)'
url: 'https://github.com/P-H-C/phc-winner-argon2'
arch: x86_64
depends: []
makedepends:
- glibc

source:
- 'https://github.com/P-H-C/phc-winner-argon2/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd phc-winner-${pkgname}-${pkgver}

  #prepare
  make OPTTARGET='none' LIBRARY_REL='lib'

  #test
  make OPTTARGET='none' LIBRARY_REL='lib' test

  #install
  make OPTTARGET='none' LIBRARY_REL='lib' DESTDIR="${PKGDIR}" install
  install -D -m0644 LICENSE "${PKGDIR}/usr/share/licenses/argon2/LICENSE"

package: |
  true