summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorja Ruiz2014-08-01 00:00:09 +0000
committerKyle Keen2015-09-05 10:17:21 +0800
commita6b20d769bea9873333e84eb606a1f1dfaca85a2 (patch)
tree40b9485681cc08e9f73edb1d94181e9dd45e3486
downloadaur-a6b20d769bea9873333e84eb606a1f1dfaca85a2.tar.gz
Updated to 2.1.1.r18.g528e2db
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD34
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..204dd7c94aa
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = python2-pwntools
+ pkgdesc = CTF framework used by Gallopsled in every CTF
+ pkgver = 2.1.1.r18.g528e2db
+ pkgrel = 1
+ url = https://github.com/Gallopsled/pwntools/
+ arch = any
+ license = Mostly MIT, some GPL/BSD
+ depends = python2>=2.7
+ depends = python2-mako
+ depends = python2-paramiko
+ provides = python2-pwntools
+ conflicts = python2-pwntools
+ replaces = python2-pwntools
+ options = !emptydirs
+ source = python2-pwntools::git+https://github.com/Gallopsled/pwntools.git
+ md5sums = SKIP
+
+pkgname = python2-pwntools
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..11ed495c252
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Borja Ruiz <borja [at] libcrack [dot] so>
+pkgname=python2-pwntools
+pkgver=2.1.1.r18.g528e2db
+pkgrel=1
+pkgdesc="CTF framework used by Gallopsled in every CTF"
+arch=('any')
+url="https://github.com/Gallopsled/pwntools/"
+license=('Mostly MIT, some GPL/BSD')
+groups=()
+#depends=('python2>=2.7' 'python2-pip' 'python2-mako' 'python2-paramiko')
+depends=('python2>=2.7' 'python2-mako' 'python2-paramiko')
+#aur/python26-argparse
+makedepends=()
+provides=('python2-pwntools')
+conflicts=('python2-pwntools')
+replaces=('python2-pwntools')
+backup=()
+options=(!emptydirs)
+install=
+source=("$pkgname"::'git+https://github.com/Gallopsled/pwntools.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ git describe --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -D -m 644 LICENSE-pwntools.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: