summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 035fd1588dbd7bbbfb4b440eb9c28de9a474558f (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
# Maintainer: M0Rf30

pkgname=fwts-git
pkgver=2325.c519fe0
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
  ./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')