summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 35e0107ea8c690a789e78a4273a708d78b140a7c (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: Andrej Radović <r.andrej@gmail.com>
pkgname=python-certauth
_name=${pkgname#python-}
pkgver=1.3.0
pkgrel=2
pkgdesc="Simple Certificate Authority for MITM proxies"
url="https://github.com/ikreymer/certauth"
depends=(
    'python'
    'python-pyopenssl'
    'python-tldextract'
)
makedepends=('python-setuptools')
license=('GPL3')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('7862d5deff0b33d2fb28d36861ba63d91c82d700bfdfc4bd848a8711ca72b8fb')

build() {
	cd "$srcdir/$_name-$pkgver"
	python setup.py build
}

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