[arch-commits] Commit in libkeccak/repos (community-x86_64 community-x86_64/PKGBUILD)

Frederik Schwan freswa at archlinux.org
Tue Jun 30 03:47:58 UTC 2020


    Date: Tuesday, June 30, 2020 @ 03:47:58
  Author: freswa
Revision: 657039

archrelease: copy trunk to community-x86_64

Added:
  libkeccak/repos/community-x86_64/
  libkeccak/repos/community-x86_64/PKGBUILD
    (from rev 657038, libkeccak/trunk/PKGBUILD)

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

Copied: libkeccak/repos/community-x86_64/PKGBUILD (from rev 657038, libkeccak/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-06-30 03:47:58 UTC (rev 657039)
@@ -0,0 +1,34 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
+
+pkgname=libkeccak
+pkgver=1.2
+pkgrel=2
+pkgdesc='Keccak-family hashing library'
+arch=('x86_64')
+url='https://github.com/maandree/libkeccak'
+license=('custom:ISC')
+depends=('glibc')
+checkdepends=('valgrind')
+source=("https://github.com/maandree/libkeccak/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+b2sums=('32655966554d49ac8a10128d6fd6ef227acc8549fd71fd433a564432b0b5e15398bcc0b259dc1d1cad6f0b8004a671d1d9bbc1a0302e1ee40e53d8cb09562986')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -i 's#FLAGS\s\+=#FLAGS +=#g' optimised.mk
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make CONFIGFILE=optimised.mk PREFIX=/usr
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make CONFIGFILE=optimised.mk check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make CONFIGFILE=optimised.mk PREFIX=/usr DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list