Date: Sunday, January 28, 2018 @ 18:59:36 Author: anthraxx Revision: 287633
upgpkg: ropper 1.11.4-1 Modified: ropper/trunk/PKGBUILD ----------+ PKGBUILD | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-01-28 18:43:02 UTC (rev 287632) +++ PKGBUILD 2018-01-28 18:59:36 UTC (rev 287633) @@ -3,8 +3,8 @@ pkgbase=ropper pkgname=('ropper' 'python-ropper' 'python2-ropper') _pkgname=Ropper -pkgver=1.10.10 -pkgrel=2 +pkgver=1.11.4 +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') @@ -12,9 +12,10 @@ makedepends=('python-setuptools' 'python-capstone' 'python-filebytes' 'python2-setuptools' 'python2-capstone' 'python2-filebytes') source=(${pkgname}-${pkgver}.tar.gz::https://github.com/sashs/${_pkgname}/archive/v${pkgver}.tar.gz) -sha512sums=('5ef06837a5ceeb61cf12dbf3d529fad5f98b581a655490ee9d62909ace9b2a31885be2c972eba448252299a1de3417452ba5ec33235c8dfb50d477279c7c34b8') +sha512sums=('296f1d166070bdfef031ced271d5d7c0f962b4f2c0df111b5fc18adadc2c34365658c09fe7abc5e359fed075c00171c86e3e9927442f36c7339c9a4853396167') prepare() { + echo " pass" >> ${_pkgname}-${pkgver}/ropper/parser.py cp -ra ${_pkgname}-${pkgver}{,-py2} sed -r 's|(env python)|\12|' -i ${_pkgname}-${pkgver}-py2/sample.py } @@ -43,7 +44,7 @@ cd ${_pkgname}-${pkgver} python setup.py install -O1 --root="${pkgdir}" --skip-build install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" - rm -r "${pkgdir}/usr/lib" + rm -r "${pkgdir}/usr/lib" "${pkgdir}/usr/bin/ropper2" } package_python-ropper() { @@ -51,8 +52,7 @@ optdepends=('python-keystone: assemble command support') cd ${_pkgname}-${pkgver} 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" + install -Dm 644 README.md sample.py -t "${pkgdir}/usr/share/doc/${pkgname}" rm -r "${pkgdir}/usr/bin" } @@ -61,8 +61,7 @@ optdepends=('python2-keystone: assemble command support') cd ${_pkgname}-${pkgver}-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" + install -Dm 644 README.md sample.py -t "${pkgdir}/usr/share/doc/${pkgname}" rm -r "${pkgdir}/usr/bin" }