summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: df073dd7f476351d02f6415606331c706013bf82 (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
# Maintainer: Lahfa Samy (AkechiShiro) <'akechishiro-aur' at the domain 'lahfa.xyz'>
# Contributor: Daniel Maslowski <info@orangecms.org>

_gitname=PSPTool
_pyname=psptool
pkgname=psptool-git
pkgver=r125.58f5ba2
pkgrel=1
pkgdesc="Swiss Army knife for dealing with firmware of the AMD Secure Processor"
arch=('any')
url="https://github.com/PSPReverse/PSPTool"
license=('GPL3')
depends=(
  'ipython'
  'python'
  'python-cryptography'
  'python-prettytable'
  'python-setuptools'
)
makedepends=('git')
provides=("$_pyname")
conflicts=($_pyname)
options=(!emptydirs)
source=(git+https://github.com/PSPReverse/PSPTool.git)
sha512sums=('SKIP')

pkgver() {
  cd "$_gitname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

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

# vim:set ts=2 sw=2 et: