Date: Sunday, January 3, 2021 @ 18:21:19 Author: eworm Revision: 405212
archrelease: copy trunk to testing-x86_64 Added: haveged/repos/testing-x86_64/ haveged/repos/testing-x86_64/PKGBUILD (from rev 405211, haveged/trunk/PKGBUILD) ----------+ PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) Copied: haveged/repos/testing-x86_64/PKGBUILD (from rev 405211, haveged/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2021-01-03 18:21:19 UTC (rev 405212) @@ -0,0 +1,46 @@ +# Maintainer: Christian Hesse <m...@eworm.de> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> +# Contributor: kfgz <kfgz at interia dot pl> +# Contributor: pootzko <pootzko at gmail dot com> + +pkgname=haveged +pkgver=1.9.14 +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.j...@gmail.com> +source=("$pkgname-$pkgver.tar.gz::https://github.com/jirka-h/$pkgname/archive/v$pkgver.tar.gz") + #"https://github.com/jirka-h/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.asc" +sha256sums=('938cb494bcad7e4f24e61eb50fab4aa0acbc3240c80f3ad5c6cf7e6e922618c3') + +prepare() { + cd $pkgname-$pkgver + sed -i init.d/service.fedora \ + -e 's/@SBIN_DIR@/\/usr\/bin/' +} + +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 init.d/service.fedora "$pkgdir"/usr/lib/systemd/system/haveged.service +}