summaryrefslogtreecommitdiff
path: root/community/cpuburn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cpuburn/PKGBUILD')
-rw-r--r--community/cpuburn/PKGBUILD18
1 files changed, 5 insertions, 13 deletions
diff --git a/community/cpuburn/PKGBUILD b/community/cpuburn/PKGBUILD
index b29af70a5..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')
-url="http://pages.sbcglobal.net/redelm/"
+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