summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPierre-Gildas MILLON2017-10-17 16:22:24 +0200
committerPierre-Gildas MILLON2017-10-17 16:22:24 +0200
commitce171beac3b0312bef9668a350b408b64faa0885 (patch)
tree6297b8a5b9656728fd57d45b0235ae929bb54c9b /PKGBUILD
downloadaur-ce171beac3b0312bef9668a350b408b64faa0885.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..8784290cc3a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Pierre-Gildas MILLON <pgmillon@gmail.com>
+
+pkgname=python2-pypac
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="Proxy auto-config and auto-discovery for Python"
+arch=('any')
+url="https://pypi.python.org/pypi/pypac/"
+license=('Apache 2.0')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("https://github.com/carsonyl/pypac/archive/v$pkgver.tar.gz")
+md5sums=('3221632b0b434c10162f281a849ba861')
+
+build() {
+ cd "${srcdir}/pypac-${pkgver}"
+ python setup.py bdist_wheel
+}
+
+package() {
+ cd "${srcdir}/pypac-${pkgver}"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+}