diff options
author | Mathieu Clabaut | 2018-03-20 09:25:15 +0100 |
---|---|---|
committer | Mathieu Clabaut | 2018-03-20 09:25:15 +0100 |
commit | 417a1dbda5b964c2d1225c4bc63d1e5f5a0839cb (patch) | |
tree | 2c4eaba770de4eb02bbce965767706a9b38a98f1 /PKGBUILD | |
download | aur-python-retdec-python.tar.gz |
Initial revision
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4307bcb1b65b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Mathieu Clabaut <mathieu[at]clabaut.net> +pkgbase=('python-retdec-python') +pkgname=('python-retdec-python') +_module='retdec-python' +pkgver='0.5.2' +pkgrel=1 +pkgdesc="A Python library and tools providing easy access to the retdec.com decompilation service through their public REST API." +url="https://github.com/s3rvac/retdec-python" +depends=('python') +makedepends=('python-setuptools') +license=('MIT') +arch=('any') +source=("https://files.pythonhosted.org/packages/source/r/retdec-python/retdec-python-${pkgver}.tar.gz") +md5sums=('d6b3c37bc26bd116896d4dc23c8a9432') + +build() { + cd "${srcdir}/${_module}-${pkgver}" + python setup.py build +} + +package() { + depends+=() + cd "${srcdir}/${_module}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + # conflict with leptonica fileinfo + mv ${pkgdir}/usr/bin/fileinfo ${pkgdir}/usr/bin/retdec-fileinfo + +} |