summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoranthraxx2016-06-17 16:49:59 +0200
committeranthraxx2016-06-17 16:49:59 +0200
commite88e43f0bcc8a3581e405451784a2869491d23cb (patch)
treeedfa9013fdb3076e98ea98465d4798f70a17b3e2 /PKGBUILD
parentbc96c7d49ef2626fb5962701268df08638b5c3b6 (diff)
downloadaur-e88e43f0bcc8a3581e405451784a2869491d23cb.tar.gz
upgpkg: ropper-git 1.9.10.421.c9ded96-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 00aee82876a..3f8a5b84e54 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,12 @@
pkgbase=ropper-git
pkgname=('ropper-git' 'python-ropper-git' 'python2-ropper-git')
-pkgver=1.9.5.383.2a40346
+pkgver=1.9.10.421.c9ded96
pkgrel=1
pkgdesc='Show information about binary files and find gadgets to build rop chains for different architectures'
url='https://github.com/sashs/Ropper'
arch=('any')
license=('GPL2')
-optdepends=('sqlite: gadgets database support'
- 'python-keystone: assemble command support')
makedepends=('git' 'python-setuptools' 'python-capstone' 'python-filebytes' 'python2-setuptools' 'python2-capstone' 'python2-filebytes')
checkdepends=('sqlite')
provides=('ropper')
@@ -49,6 +47,8 @@ package_ropper-git() {
depends=('python' 'python-ropper')
provides=('ropper')
conflicts=('ropper')
+ optdepends=('sqlite: gadgets database support'
+ 'python-keystone: assemble command support')
cd ${pkgbase}
python setup.py install -O1 --root="${pkgdir}" --skip-build
install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
@@ -59,22 +59,26 @@ package_python-ropper-git() {
depends=('python-capstone' 'python-filebytes')
provides=('python-ropper')
conflicts=('python-ropper')
+ optdepends=('sqlite: gadgets database support'
+ 'python-keystone: assemble command support')
cd ${pkgbase}
python setup.py install -O1 --root="${pkgdir}" --skip-build
install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm 644 sample.py "${pkgdir}/usr/share/doc/${pkgname}/sample.py"
- rm "${pkgdir}/usr/bin/ropper"
+ rm -r "${pkgdir}/usr/bin"
}
package_python2-ropper-git() {
depends=('python2-capstone' 'python2-filebytes')
provides=('python2-ropper')
conflicts=('python2-ropper')
+ optdepends=('sqlite: gadgets database support'
+ 'python2-keystone: assemble command support')
cd ${pkgbase}-py2
python2 setup.py install -O1 --root="${pkgdir}" --skip-build
install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm 644 sample.py "${pkgdir}/usr/share/doc/${pkgname}/sample.py"
- rm "${pkgdir}/usr/bin/ropper"
+ rm -r "${pkgdir}/usr/bin"
}
# vim: ts=2 sw=2 et: