summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b8a6b34b58c652176e27f3e59cfc513820ddcb78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: FFY00 <filipe.lains@gmail.com>

pkgname=mitmproxy-git
pkgver=3.0.1.r246.a4a48a96
pkgrel=1
pkgdesc="An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers"
arch=('any')
url="https://mitmproxy.org/"
license=('MIT')
depends=(
  'openssl' 'python-brotlipy' 'python-certifi' 'python-h2' 'python-ldap3'
  'python-pyopenssl' 'python-pyasn1' 'python-imaging' 'python-hyperframe'
  'python-lxml' 'python-flask' 'python-requests' 'python-passlib' 'python-urwid'
  'python-configargparse' 'python-tornado' 'python-wsproto' 'python-kaitaistruct'
  'python-pyperclip>=1.5.8' 'python-blinker>=1.3')
conflicts=('mitmproxy')
provides=('mitmproxy')
source=("git+https://github.com/mitmproxy/mitmproxy.git")
sha1sums=('SKIP')

pkgver() {
  cd "$srcdir/mitmproxy"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g;s/\.rc./rc/g'
}

package() {
  cd "$srcdir/mitmproxy"
  python setup.py install --root=$pkgdir
}