[arch-commits] Commit in mitmproxy/repos (community-any community-any/PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Apr 10 08:14:50 UTC 2015
Date: Friday, April 10, 2015 @ 10:14:50
Author: fyan
Revision: 131090
archrelease: copy trunk to community-any
Added:
mitmproxy/repos/community-any/
mitmproxy/repos/community-any/PKGBUILD
(from rev 131089, mitmproxy/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: mitmproxy/repos/community-any/PKGBUILD (from rev 131089, mitmproxy/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2015-04-10 08:14:50 UTC (rev 131090)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon 'ALSimon' Gilliot <simon at gilliot.fr>
+# Contributor: Olivier Biesmans <olivier at biesmans dot fr>
+
+pkgname=mitmproxy
+pkgver=0.11.3
+pkgrel=2
+pkgdesc="SSL-capable man-in-the-middle HTTP proxy"
+arch=('any')
+url="http://mitmproxy.org/"
+license=('GPL')
+makedepends=('python2-setuptools')
+depends=('python2-netlib' 'python2-pyasn1' 'python2-pyopenssl'
+ 'python2-configargparse' 'python2-tornado'
+ 'python2-pyperclip' 'python2-blinker'
+ 'python2-urwid' 'python2-lxml' 'python2-pillow')
+optdepends=('python2-pyamf: Contentviews - Decodes AMF files'
+ 'python2-protobuf: Contentviews - Extended content decoding'
+ 'python2-cssutils: Contentviews - Beautifies CSS files')
+conflicts=('mitmproxy-git')
+provides=('python2-libmproxy')
+source=("http://mitmproxy.org/download/$pkgname-$pkgver.tar.gz")
+sha256sums=('e774760fc33864caa708eeaafb756e110d7adeb619f3734f2f50b2a0e4910d5c')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i 's/^#\!\/usr\/bin\/env python$/#\!\/usr\/bin\/env python2/' libmproxy/contrib/html2text.py
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir" -O1
+}
More information about the arch-commits
mailing list