summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c4f9dd5f200b973299232170fe8f27798c348296 (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 <joaquim dot monteiro at protonmail dot com>

pkgname=python-aiohttp-socks-git
pkgver=v0.5.5.r0.g69bf922
pkgrel=1
pkgdesc="Proxy connector for aiohttp. Supports SOCKS4(a), SOCKS5, HTTP (tunneling) as well as proxy chains. (Git version)"
arch=(any)
url="https://github.com/romis2012/aiohttp-socks"
license=("Apache")

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

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

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

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