summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 77af130907f13cb8d32d965e9bd1ff2234ba1c03 (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
29
30
31
32
33
34
# Contributor: Steven Allen <steven@stebalien.com>
# Contributer: Felix Yan <felixonmars@gmail.com>
# Contributor: Max Meyer <dev@fedux.org>

pkgname=python-pacparser
pkgver=1.4.3
pkgrel=2
pkgdesc='Python 3.x pacparser module'
arch=(i686 x86_64 aarch64)
license=(LGPL-3.0-only)
url=https://github.com/manugarg/pacparser
depends=('python>=3.8')
makedepends=(git)
options=(!makeflags)
_tag=eee2f73bc1d6c081261e2c53dc75fe2bbe660435
source=(git+https://github.com/manugarg/pacparser.git#tag=$_tag)
sha256sums=(SKIP)

pkgver() {
  cd pacparser
  git describe --tags | sed 's/^v//'
}

build() {
  cd pacparser
  make all pymod -C src
}

package() {
  cd pacparser
  make -C src DESTDIR="$pkgdir/" install-pymod
}

# vim:set ts=2 sw=2 et: