summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f482e85e5e210a8e9cf928cf86f8e54a3f28313e (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Maintainer: Philipp Hug <arch@hug.cx>
pkgname=chipsec-git
pkgver=1.8.1.r19.g90fc2bec
pkgrel=1
epoch=
pkgdesc="Platform Security Assessment Framework"
arch=("x86_64")
url="https://github.com/chipsec/chipsec"
license=('GPL2')
groups=()
depends=('python' 'chipsec-dkms' 'python-setuptools' 'make')
makedepends=('git')
checkdepends=()
optdepends=()
provides=('chipsec')
conflicts=('chipsec')
replaces=()
backup=()
options=()
install=
changelog=
source=("$pkgname::git+https://github.com/chipsec/chipsec")
noextract=()
md5sums=('SKIP')
validpgpkeys=()

pkgver() {
	cd "$pkgname"
	git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
	cd "$pkgname"
}

build() {
	cd "$pkgname"
	python setup.py build
}

check() {
	cd "$pkgname"
}

package() {
	cd "$pkgname"
	python setup.py install --root="$pkgdir/"
}