diff options
author | root <root@rshg054.dnsready.net> | 2011-08-11 23:14:30 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-11 23:14:30 +0000 |
commit | 853acffdfdaafc5b2982cbac2a0e5adda28e6d6e (patch) | |
tree | ec8f471de81a4c58c3b2cc228009524ae31f312f /community/cpuburn/PKGBUILD | |
parent | 1a6b0f4a655e1fbda776cbb34f56a5fa061c27c7 (diff) |
Thu Aug 11 23:14:30 UTC 2011
Diffstat (limited to 'community/cpuburn/PKGBUILD')
-rw-r--r-- | community/cpuburn/PKGBUILD | 18 |
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 |