[arch-commits] Commit in haveged/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Thu Mar 14 14:35:55 UTC 2013


    Date: Thursday, March 14, 2013 @ 15:35:55
  Author: bpiotrowski
Revision: 86267

upgpkg: haveged 1.7.a-1

Modified:
  haveged/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-03-14 14:33:19 UTC (rev 86266)
+++ PKGBUILD	2013-03-14 14:35:55 UTC (rev 86267)
@@ -4,26 +4,27 @@
 # Contributor: pootzko <pootzko at gmail dot com>
 
 pkgname=haveged
-pkgver=1.7a
+pkgver=1.7.a
+_pkgver=${pkgver/.a/a}
 pkgrel=1
 pkgdesc='Entropy harvesting daemon using CPU timings'
 arch=('i686' 'x86_64')
 url='http://www.issihosts.com/haveged'
 license=('GPL')
 depends=('glibc')
-source=($url/$pkgname-$pkgver.tar.gz
+source=($url/$pkgname-$_pkgver.tar.gz
         service)
 sha256sums=('8e7b0779bd8a4b9b73769ddaf626918355e2a542d3ac35e5ec31b74a58b9b051'
             '85aed005b7d0d0bae74f7fc0ca70907a6f67ddbcb2df77ca004f9a919028564a')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
+  cd $srcdir/$pkgname-$_pkgver
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
+  cd $srcdir/$pkgname-$_pkgver
   make DESTDIR=$pkgdir install
 
   rm -rf $pkgdir/etc/init.d




More information about the arch-commits mailing list