summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoranthraxx2015-11-12 12:39:31 +0100
committeranthraxx2015-11-12 12:39:31 +0100
commit5bdf31473a2721dcdf87876c74852fddf6b060e2 (patch)
tree5bef709f63879c1ad967542e818d8211e857ffe5
parente82c20c6cdc2c2fc84c0db29eb7694fb4ffbd9f0 (diff)
downloadaur-5bdf31473a2721dcdf87876c74852fddf6b060e2.tar.gz
upgpkg: ropper-git 1.7.2.268.debc8e8-1
- adding sample.py - adding check() test.py
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD14
2 files changed, 12 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ccfb49304f5..be050bf3d77 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
pkgbase = ropper-git
pkgdesc = Show information about binary files and find gadgets to build rop chains for different architectures
- pkgver = 1.6.2.170.266a808
+ pkgver = 1.7.2.268.debc8e8
pkgrel = 1
url = https://github.com/sashs/Ropper
arch = any
license = GPL2
+ checkdepends = sqlite
makedepends = git
makedepends = python-setuptools
depends = python-capstone
diff --git a/PKGBUILD b/PKGBUILD
index 72d5e29a7a8..11f81fbcf40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,16 @@
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
pkgname=ropper-git
-pkgver=1.6.2.170.266a808
+pkgver=1.7.2.268.debc8e8
pkgrel=1
pkgdesc="Show information about binary files and find gadgets to build rop chains for different architectures"
-arch=('any')
url="https://github.com/sashs/Ropper"
+arch=('any')
license=('GPL2')
depends=('python-capstone')
optdepends=('sqlite: gadgets database support')
makedepends=('git' 'python-setuptools')
+checkdepends=('sqlite')
provides=('ropper')
conflicts=('ropper')
source=(${pkgname}::git+https://github.com/sashs/Ropper)
@@ -25,11 +26,16 @@ build() {
python setup.py build
}
+check() {
+ cd ${pkgname}
+ python test.py
+}
+
package() {
cd ${pkgname}
python setup.py install -O1 --root="${pkgdir}"
- install -Dm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+ install -Dm 644 sample.py "${pkgdir}/usr/share/doc/${pkgname}/sample.py"
}
-# vim:set ts=2 sw=2 et:
+# vim: ts=2 sw=2 et: