[arch-commits] Commit in jitterentropy/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:49:20 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:49:20
  Author: felixonmars
Revision: 658238

archrelease: copy trunk to community-staging-x86_64

Added:
  jitterentropy/repos/community-staging-x86_64/
  jitterentropy/repos/community-staging-x86_64/PKGBUILD
    (from rev 658237, jitterentropy/trunk/PKGBUILD)

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

Copied: jitterentropy/repos/community-staging-x86_64/PKGBUILD (from rev 658237, jitterentropy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 12:49:20 UTC (rev 658238)
@@ -0,0 +1,40 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com
+# Contributor: Timothy Redaelli <timothy.redaelli+aur at gmail.com>
+
+pkgname=jitterentropy
+_pkgname=$pkgname-library
+pkgver=2.2.0
+pkgrel=2
+pkgdesc='Hardware RNG based on CPU timing jitter'
+arch=('x86_64')
+url='https://www.chronox.de/jent.html'
+license=('BSD')
+depends=('glibc')
+source=(https://www.chronox.de/jent/$_pkgname-$pkgver.tar.xz{,.asc})
+sha256sums=('af17b3c63aa55c0cfdeb29755f32bf2afd1477b20ecb4df9d226f1abbeb7d796'
+            'SKIP')
+validpgpkeys=(3BCC43D4D2C87D1784B69EE4421EE936326AC15B)
+
+prepare() {
+  cd "$_pkgname-$pkgver"
+
+  # Disable man page compression on install
+  sed -e '/\tgzip .*\/man\// d' -i Makefile
+  # Let the package manager handle stripping
+  sed -e '/\tinstall.*-s / s/-s //g' -i Makefile
+}
+
+build() {
+  cd "$_pkgname-$pkgver"
+  make jitterentropy
+}
+
+package() {
+  cd "$_pkgname-$pkgver"
+  install -dm755 "$pkgdir/usr/include"
+  make PREFIX=/usr DESTDIR="$pkgdir/" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -Dm644 COPYING.bsd "$pkgdir/usr/share/licenses/$pkgname/COPYING.bsd"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list