diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-07 03:30:07 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-01-07 03:30:07 +0000 |
commit | bd5b8fe0fe2355ad0df744ed310d12b8a70c51f9 (patch) | |
tree | 193748868eafd7f5d1fb754757fa956bb3070ae6 /community/pacparser/PKGBUILD | |
parent | 3b88fa9d064e61705923ef42381b467bc8ecfd32 (diff) |
Tue Jan 7 03:27:41 UTC 2014
Diffstat (limited to 'community/pacparser/PKGBUILD')
-rw-r--r-- | community/pacparser/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/pacparser/PKGBUILD b/community/pacparser/PKGBUILD new file mode 100644 index 000000000..f7c000918 --- /dev/null +++ b/community/pacparser/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 103445 2014-01-06 02:45:23Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> +# Contributor: Max Meyer <dev@fedux.org> + +pkgbase=pacparser +pkgname=('pacparser' 'python2-pacparser') +pkgver=1.3.1 +pkgrel=1 +arch=(i686 x86_64) +url="http://pacparser.googlecode.com" +license=('LGPL') +makedepends=('python2') +options=('!makeflags') +source=("http://pacparser.googlecode.com/files/${pkgbase}-${pkgver}.tar.gz") + +build() { + cd $pkgbase-$pkgver + PYTHON=python2 make all pymod -C src +} + +package_pacparser() { + pkgdesc="Library to parse proxy auto-config (PAC) files" + + cd $pkgbase-$pkgver + make -C src DESTDIR="$pkgdir/" install +} + +package_python2-pacparser() { + depends=('python2') + pkgdesc="Python 2.x pacparser module" + + cd $pkgbase-$pkgver + PYTHON=python2 make -C src DESTDIR="$pkgdir/" install-pymod +} + +# vim:set ts=2 sw=2 et: +sha512sums=('20295667d92eb5385429c085c14ca8dc1ba216487ff474304433f99119216934be2dd1647452173418de31f5345679dd7159eafd331e40a2b87564f878d31349') |