upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / libkeccak / trunk / PKGBUILD
blobe88007c08b99b14c0d3c702d1caab3dd044e2077
1 # Maintainer: Frederik Schwan <freswa at archlinux dot org>
2 # Contributor: Mattias AndrĂ©e <`base64 -d`(bWFhbmRyZWUK)@kth.se>
4 pkgname=libkeccak
5 pkgver=1.3.1.2
6 pkgrel=1
7 pkgdesc='Keccak-family hashing library'
8 arch=('x86_64')
9 url='https://github.com/maandree/libkeccak'
10 license=('custom:ISC')
11 depends=('glibc')
12 checkdepends=('valgrind')
13 source=("https://github.com/maandree/libkeccak/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
14 b2sums=('073f31ce45ed292caa9f06190a4045c4c23938df1643c70f9a6530a340027797a96332722723a40d6424bb910283020213ef2f54a7f469809d0d8c646e2db48e')
16 prepare() {
17   cd ${pkgname}-${pkgver}
18   sed -i 's#FLAGS\s\+=#FLAGS +=#g' optimised.mk
21 build() {
22   cd ${pkgname}-${pkgver}
23   make CONFIGFILE=optimised.mk PREFIX=/usr
26 check() {
27   cd ${pkgname}-${pkgver}
28   make CONFIGFILE=optimised.mk check
31 package() {
32   cd ${pkgname}-${pkgver}
33   make CONFIGFILE=optimised.mk PREFIX=/usr DESTDIR="${pkgdir}" install