summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 66358d7d9c13c796a1175d60effa6c6a4e493189 (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
# Maintainer: 71e6fd52 <DAStudio.71e6fd52@gmail.com>

pkgbase=('python2-gfwlist2privoxy')
pkgname=('python2-gfwlist2privoxy')
_module='gfwlist2privoxy'
pkgver='1.0.3'
pkgrel=1
pkgdesc="convert gfwlist to privoxy action file"
url="https://github.com/snachx/gfwlist2privoxy"
depends=('python2')
makedepends=('python2-setuptools')
license=('MIT')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/g/${_module}/${_module}-${pkgver}.tar.gz")
md5sums=('fe8956e340ed72dd1a662da7a11b20ce')

build() {
    cd "${srcdir}/${_module}-${pkgver}"
    python2 setup.py build
}

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}