[arch-commits] Commit in jitterentropy (3 files)
Massimiliano Torromeo
mtorromeo at archlinux.org
Thu Jan 10 20:43:12 UTC 2019
Date: Thursday, January 10, 2019 @ 20:43:11
Author: mtorromeo
Revision: 422054
archrelease: copy trunk to community-x86_64
Added:
jitterentropy/repos/
jitterentropy/repos/community-x86_64/
jitterentropy/repos/community-x86_64/PKGBUILD
(from rev 422053, jitterentropy/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: jitterentropy/repos/community-x86_64/PKGBUILD (from rev 422053, jitterentropy/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2019-01-10 20:43:11 UTC (rev 422054)
@@ -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.1.2
+pkgrel=1
+pkgdesc='Hardware RNG based on CPU timing jitter'
+arch=('x86_64')
+url='http://www.chronox.de/jent.html'
+license=('BSD')
+depends=('glibc')
+source=(http://www.chronox.de/jent/$_pkgname-$pkgver.tar.xz{,.asc})
+sha256sums=('122bc46a477bc2618e9433ca616fce88f7c4f71cb0afda8c099f728bb28f6cc1'
+ '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