summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6ae71ac5a6027ecf5c03ea790550b6d3883614e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: robertfoster
# Contributor: brikler

pkgname=fwts-git
pkgver=4604.2b14ce46
pkgrel=1
pkgdesc="The FirmWare Test Suite is a tool to do automatic testing of a PC's firmware"
arch=('i686' 'x86_64')
url="http://smackerelofopinion.blogspot.com/2010/08/firmware-test-suite-biosacpi-health.html"
license=('GPL')
depends=('pcre' 'json-c')
makedepends=('git')
source=('fwts::git://kernel.ubuntu.com/hwe/fwts.git')

build() {
	cd fwts
	autoreconf -ivf
	CPPFLAGS="$CPPFLAGS -O2"
	CFLAGS=--sysroot= ./configure --prefix=/usr
	make
}

package() {
	cd fwts
	make DESTDIR=$pkgdir install
}

pkgver() {
	cd fwts
	echo $(git rev-list --count master).$(git rev-parse --short master)
}

md5sums=('SKIP')