summaryrefslogtreecommitdiff
path: root/community/cpuburn
diff options
context:
space:
mode:
Diffstat (limited to 'community/cpuburn')
-rw-r--r--community/cpuburn/PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/community/cpuburn/PKGBUILD b/community/cpuburn/PKGBUILD
index b64b7debd..b97eacddd 100644
--- a/community/cpuburn/PKGBUILD
+++ b/community/cpuburn/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 65092 2012-02-20 03:36:44Z spupykin $
+# $Id: PKGBUILD 113955 2014-07-01 10:26:12Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Filip Wojciechowski, filip at loka dot pl
pkgname=cpuburn
pkgver=1.4a
-pkgrel=3
+pkgrel=4
pkgdesc="CPU testing utilities in optimized assembler for maximum loading of CPUs"
arch=('i686' 'x86_64')
url="https://launchpad.net/ubuntu/+source/cpuburn/"
@@ -19,12 +19,13 @@ build() {
cd "$srcdir/$pkgname-$pkgver"
patch -Np1 -i ../cpuburn.patch
make
- install -Dm755 burnBX $pkgdir/usr/bin/burnBX
- install -Dm755 burnK6 $pkgdir/usr/bin/burnK6
- install -Dm755 burnK7 $pkgdir/usr/bin/burnK7
- install -Dm755 burnMMX $pkgdir/usr/bin/burnMMX
- install -Dm755 burnP5 $pkgdir/usr/bin/burnP5
- install -Dm755 burnP6 $pkgdir/usr/bin/burnP6
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ for i in burn{BX,K6,K7,MMX,P5,P6}; do
+ install -Dm755 $i $pkgdir/usr/bin/$i
+ done
install -Dm644 README $pkgdir/usr/share/doc/$pkgname/README
install -Dm644 Design $pkgdir/usr/share/doc/$pkgname/Design
}