[arch-commits] Commit in haveged/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Christian Hesse eworm at gemini.archlinux.org
Fri Oct 1 06:11:24 UTC 2021


    Date: Friday, October 1, 2021 @ 06:11:24
  Author: eworm
Revision: 424964

archrelease: copy trunk to testing-x86_64

Added:
  haveged/repos/testing-x86_64/
  haveged/repos/testing-x86_64/PKGBUILD
    (from rev 424963, haveged/trunk/PKGBUILD)

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

Copied: haveged/repos/testing-x86_64/PKGBUILD (from rev 424963, haveged/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-10-01 06:11:24 UTC (rev 424964)
@@ -0,0 +1,45 @@
+# Maintainer:  Christian Hesse <mail at eworm.de>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: kfgz <kfgz at interia dot pl>
+# Contributor: pootzko <pootzko at gmail dot com>
+
+pkgname=haveged
+pkgver=1.9.15
+pkgrel=1
+pkgdesc='Entropy harvesting daemon using CPU timings'
+arch=('x86_64')
+url='https://github.com/jirka-h/haveged'
+license=('GPL')
+depends=('glibc')
+validpgpkeys=('8F6B7293B03E5AC5762B65CE2E2F252B05CCA168') # Jirka Hladky <hladky.jiri at gmail.com>
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jirka-h/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('f882919ccead07ad6687a4784c0c501e617321e96dd0118403464969359cf6ad')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  sed -i 's/@SBIN_DIR@/\/usr\/bin/' contrib/Fedora/haveged.service
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure \
+      --prefix=/usr \
+      --bindir=/usr/bin \
+      --sbindir=/usr/bin
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -D -m0644 contrib/Fedora/haveged.service "$pkgdir"/usr/lib/systemd/system/haveged.service
+}



More information about the arch-commits mailing list