PKGBUILDs/community/cpuburn/PKGBUILD

35 lines
1 KiB
Bash
Raw Normal View History

2013-06-06 22:10:18 +00:00
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Filip Wojciechowski, filip at loka dot pl
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - changes to build Cortex-A8/A9 tools
buildarch=4
pkgname=cpuburn
pkgver=1.4a
2020-07-10 01:16:57 +00:00
pkgrel=7
2013-06-06 22:10:18 +00:00
pkgdesc="CPU testing utilities in optimized assembler for maximum loading of CPUs"
2018-06-01 06:02:53 +00:00
arch=('x86_64')
2013-06-06 22:10:18 +00:00
url="https://launchpad.net/ubuntu/+source/cpuburn/"
license=('GPL')
depends=()
2018-06-01 12:59:10 +00:00
source=("https://launchpad.net/ubuntu/+archive/primary/+files/cpuburn_$pkgver.orig.tar.gz"
cpuburn.patch)
md5sums=('a9e1df40c660324eb08e91847cbc41b9'
2019-01-06 16:46:26 +00:00
'30f0eb72a0cb061955ab8dee8551d451')
2013-06-06 22:10:18 +00:00
build() {
2018-06-01 12:59:10 +00:00
cd "$srcdir/$pkgname-$pkgver"
patch -Np1 -i ../cpuburn.patch
make -C ARM CC=gcc
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 ARM/burnCortexA8 $pkgdir/usr/bin/burnCortexA8
install -Dm755 ARM/burnCortexA9 $pkgdir/usr/bin/burnCortexA9
install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
install -Dm644 Design "$pkgdir/usr/share/doc/$pkgname/Design"
2013-06-06 22:10:18 +00:00
}