diff options
author | FFY00 | 2018-07-02 01:35:29 +0100 |
---|---|---|
committer | FFY00 | 2018-07-02 01:35:29 +0100 |
commit | b00815f18db26d304d981b420fdc28ea2a5f050f (patch) | |
tree | 9c1f69f35d6b80f970c79afe942d15bb335b8af9 /PKGBUILD | |
parent | 7950b440139696f338d3c8dcdda7ec3d71ca7f6b (diff) | |
download | aur-b00815f18db26d304d981b420fdc28ea2a5f050f.tar.gz |
pkgbuild: add quotes to $pkgdir
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -1,29 +1,30 @@ # Maintainer: FFY00 <filipe.lains@gmail.com> - pkgname=mitmproxy-git -pkgver=3.0.1.r246.a4a48a96 +_pkgname=${pkgname%-git} +pkgver=4.0.0.r79.3cd37652 pkgrel=1 -pkgdesc="An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers" +pkgdesc="An interactive TLS-capable intercepting HTTP proxy." 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') + 'python-blinker' 'python-brotlipy' 'python-click' 'python-cryptography' 'python-h11' + 'python-h2' 'python-hyperframe' 'python-kaitaistruct' 'python-ldap3' 'python-passlib' + 'python-pyasn1' 'python-pyopenssl' 'python-pyparsing' 'python-pyperclip' 'python-requests' + 'python-ruamel-yaml' 'python-setuptools' 'python-sortedcontainers' 'python-tornado' + 'python-urwid' 'python-wsproto' +) conflicts=('mitmproxy') provides=('mitmproxy') source=("git+https://github.com/mitmproxy/mitmproxy.git") sha1sums=('SKIP') pkgver() { - cd "$srcdir/mitmproxy" + cd "$srcdir"/$_pkgname 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 + cd "$srcdir"/$_pkgname + python setup.py install --root="$pkgdir" } |