summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 56b05f470b05be053c92f65d5885a592d9cf57a3 (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
28
# Contributor: Lex Black <autumn-wind@web.de>
# Contributor: 71e6fd52 <DAStudio.71e6fd52@gmail.com>

pkgbase='python-genpac'
pkgname='python-genpac'
_module='genpac'
pkgver=2.1.0
pkgrel=1
pkgdesc="convert gfwlist to pac, custom rules supported."
url="https://github.com/JinnLynn/genpac"
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=(https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz)
md5sums=('3d9e9e8c760743a51c02213e247c4c5f')


build() {
    cd "${_module}-${pkgver}"
    python setup.py build
}

package() {
    depends=('python')

    cd "${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}