summaryrefslogtreecommitdiff
path: root/community/cpuburn
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-08-12 01:10:30 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-08-12 01:10:30 -0500
commitc5b6150b3eee495c9637a1151e04af537682b22e (patch)
tree305ac94576a65e17d3773cbeb6612823904cbeb8 /community/cpuburn
parent750ab8ec8f204c3ef69beb2fef182b002bb50955 (diff)
parentd27f27c051ce0164f6d4a36335fe5bab6db9c5fd (diff)
Merge branch 'master' of gitpar:abslibre-mips64el
Diffstat (limited to 'community/cpuburn')
-rw-r--r--community/cpuburn/PKGBUILD20
1 files changed, 6 insertions, 14 deletions
diff --git a/community/cpuburn/PKGBUILD b/community/cpuburn/PKGBUILD
index c3d806865..a6ab49089 100644
--- a/community/cpuburn/PKGBUILD
+++ b/community/cpuburn/PKGBUILD
@@ -4,27 +4,19 @@
pkgname=cpuburn
pkgver=1.4a
-pkgrel=1
+pkgrel=2
pkgdesc="CPU testing utilities in optimized assembler for maximum loading of CPUs"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://pages.sbcglobal.net/redelm/"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/ubuntu/+source/cpuburn/"
license=('GPL')
depends=()
-makedepends=('tar') # needs to be extracted manually because of malformed source file name
-source=(http://pages.sbcglobal.net/redelm/cpuburn_${pkgver/./_}_tar.gz cpuburn.patch)
-noextract=($pkgname_${pkgver/./_}_tar.gz)
+source=(https://launchpad.net/ubuntu/+archive/primary/+files/cpuburn_$pkgver.orig.tar.gz
+ cpuburn.patch)
md5sums=('a9e1df40c660324eb08e91847cbc41b9'
'f3c77db7592ac02ee83958f07ceb8986')
build() {
- cd "$srcdir"
-
- # Workaround for malformed source file name
- mv cpuburn_${pkgver/./_}_tar.gz "$pkgname_$pkgver.tar.gz"
- tar zxf "$pkgname_$pkgver.tar.gz"
-
- cd "$pkgname-$pkgver"
- # a patch from debian/ubuntu patchset
+ cd "$srcdir/$pkgname-$pkgver"
patch -Np1 -i ../cpuburn.patch
make
install -Dm755 burnBX $pkgdir/usr/bin/burnBX