summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c5f0eb465ae445efac464657ec1922cea00cf413 (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
pkgname="python-pyaxmlparser-git"
pkgver=r167.9ba2165
pkgrel=1
pkgdesc='Parser for Android XML file and get Application Name without using Androguard '
arch=('any')
url='https://github.com/appknox/pyaxmlparser'
provides=("python-pyaxmlparser")
makedepends=('python-setuptools')
depends=('python' 'python-lxml')
license=('MIT')
source=('git+https://github.com/appknox/pyaxmlparser.git')
md5sums=('SKIP')

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

build() {
    cd "$srcdir/pyaxmlparser"
    python setup.py build
}

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