blob: 126c0a2f509d6e1d373bd6c6a4cba48314c681b9 (
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
|
# Maintainer: nullableVoidPtr <nullableVoidPtr _ gmail _ com>
pkgname=python-qiling-git
pkgver=1.4.1.r122.gbba26a53
pkgrel=1
pkgdesc="An advanced binary emulation framework"
url='https://qiling.io/'
arch=('x86_64')
license=('GPL2')
depends=('python' 'python-capstone' 'python-unicorn' 'python-pefile'
'python-registry' 'python-keystone' 'python-pyelftools'
'python-gevent' 'python-multiprocess' 'python-yaml>=6.0')
makedepends=('git' 'python-setuptools')
provides=(${pkgname%-*}=$pkgver)
conflicts=(${pkgname%-*})
source=($pkgname::git://github.com/qilingframework/qiling.git#branch=dev)
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname}"
python setup.py build
}
package() {
cd "${srcdir}/${pkgname}"
export PYTHONHASHSEED=0
python setup.py install --root="${pkgdir}" -O1 --skip-build
}
|