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

Andreas Radke andyrtr at archlinux.org
Tue Jun 9 18:37:07 UTC 2020


    Date: Tuesday, June 9, 2020 @ 18:37:07
  Author: andyrtr
Revision: 388684

archrelease: copy trunk to testing-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-09 18:36:58 UTC (rev 388683)
+++ PKGBUILD	2020-06-09 18:37:07 UTC (rev 388684)
@@ -1,40 +0,0 @@
-# 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.9
-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")
-        #"https://github.com/jirka-h/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.asc"
-sha256sums=('13a0d81bb395c6ebde70a6474452001d9f898d786ddf4872af9f9f96f9e99ded')
-
-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
-}

Copied: haveged/repos/testing-x86_64/PKGBUILD (from rev 388683, haveged/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-06-09 18:37:07 UTC (rev 388684)
@@ -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.9
+pkgrel=2
+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")
+        #"https://github.com/jirka-h/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.asc"
+sha256sums=('13a0d81bb395c6ebde70a6474452001d9f898d786ddf4872af9f9f96f9e99ded')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i "s/@SBIN_DIR@/\/usr\/bin/" init.d/service.fedora
+}
+
+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
+}



More information about the arch-commits mailing list