diff options
author | Philipp Hug | 2017-01-08 21:40:51 +0100 |
---|---|---|
committer | Philipp Hug | 2017-01-08 21:40:51 +0100 |
commit | 82edfa8227a8364f1f82cb2c3cee1767afd896bb (patch) | |
tree | 04285104fcd2ed09da73dc1d9cb24925d1d59d6a | |
download | aur-82edfa8227a8364f1f82cb2c3cee1767afd896bb.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 48 |
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f47d805a0aa3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = chipsec-git + pkgdesc = Platform Security Assessment Framework + pkgver = v1.2.5.r20.gc377a72 + pkgrel = 1 + url = https://github.com/chipsec/chipsec + arch = x86_64 + license = GPL2 + makedepends = git + depends = python + depends = python2 + source = chipsec-git::git+https://github.com/chipsec/chipsec + md5sums = SKIP + +pkgname = chipsec-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ed65b794f047 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Philipp Hug <arch@hug.cx> +pkgname=chipsec-git +pkgver=v1.2.5.r20.gc377a72 +pkgrel=1 +epoch= +pkgdesc="Platform Security Assessment Framework" +arch=("x86_64") +url="https://github.com/chipsec/chipsec" +license=('GPL2') +groups=() +depends=('python' 'python2') +makedepends=('git') +checkdepends=() +optdepends=() +provides=() +conflicts=() +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/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd "$pkgname" +} + +build() { + cd "$pkgname" + python2 setup.py build +} + +check() { + cd "$pkgname" +} + +package() { + cd "$pkgname" + python2 setup.py install --root="$pkgdir/" +} |