summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14e9979d1192ff7e81b63ea6ec60cb72899d9017 (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
# Maintainer: gmes78 <gmes.078 at gmail dot com>

pkgname=python-aiohttp-proxy-git
pkgver=v0.1.1.r0.g131c0e4
pkgrel=1
pkgdesc="SOCKS proxy connector for aiohttp. HTTP, HTTPS, SOCKS4(a) and SOCKS5(h) proxies are supported. (Git version)"
arch=(any)
url="https://github.com/Skactor/aiohttp-proxy"
license=("Apache")

depends=("python" "python-aiohttp")
makedepends=("git" "python-setuptools")
provides=("python-aiohttp-proxy")
conflicts=("python-aiohttp-proxy")

source=("git+https://github.com/Skactor/aiohttp-proxy.git")
sha512sums=("SKIP")

pkgver() {
    cd "aiohttp-proxy"
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
    cd "aiohttp-proxy"
    python setup.py install --root="$pkgdir/" --optimize=1
}