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

Frederik Schwan freswa at archlinux.org
Tue Jun 30 03:48:38 UTC 2020


    Date: Tuesday, June 30, 2020 @ 03:48:38
  Author: freswa
Revision: 657040

archrelease: copy trunk to community-x86_64

Added:
  sha3sum/repos/community-x86_64/
  sha3sum/repos/community-x86_64/PKGBUILD
    (from rev 657039, sha3sum/trunk/PKGBUILD)

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

Copied: sha3sum/repos/community-x86_64/PKGBUILD (from rev 657039, sha3sum/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-06-30 03:48:38 UTC (rev 657040)
@@ -0,0 +1,33 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
+
+pkgname=sha3sum
+pkgver=1.1.5
+pkgrel=3
+pkgdesc="Keccak-family checksum calculator, including SHA-3"
+arch=('x86_64')
+url='https://github.com/maandree/sha3sum'
+license=('custom:ISC')
+depends=('libkeccak>=1.2')
+source=("https://github.com/maandree/sha3sum/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+b2sums=('e7820ee2a4c6f6cde4417e21dac7ae128a5041a8d76b70a99eaf02c86d2d115af52b2b65f1222c9be431a90c3d7044e5911c228ec80789f493749920b51427fe')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  sed -i 's#FLAGS\s\+=#FLAGS +=#g' config.mk
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make PREFIX=/usr
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make PREFIX=/usr DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list