diff options
author | Jakab Kristóf | 2015-10-25 21:33:07 +0100 |
---|---|---|
committer | Jakab Kristóf | 2015-10-25 21:34:44 +0100 |
commit | a3fd35939346babd73590ef7fa58101a34ce20ae (patch) | |
tree | 318328f6b2f3bc83aa74d75b0aafd9127a95cfec /PKGBUILD | |
download | aur-zorp.tar.gz |
Initial commit
FIXME:
- patch files should be upstream
- python shebangs should be corrected to use python2
- namcap warnings should be looked at
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..92a3017ddab9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Kristóf Jakab <jaksi@jaksi.io> +pkgname=zorp +pkgver=6.0.7 +pkgrel=1 +pkgdesc='A new generation proxy firewall suite' +arch=('x86_64') +url='https://github.com/balabit/zorp' +license=('GPL2') +makedepends=('gperf') +depends=('libzorpll' 'python2') +source=( + 'https://github.com/balabit/zorp/archive/v6.0.7.tar.gz' + '0001-Consider-only-python2-and-python2.7.patch' +) +md5sums=( + '0f1a27596935244efc6d43cd1285fb8c' + 'f9b828ed00f5c2e8e71ae9f965736e2b' +) + +build() { + cd "$srcdir/zorp-6.0.7" + patch -p1 < '../../0001-Consider-only-python2-and-python2.7.patch' + ./autogen.sh + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd "$srcdir/zorp-6.0.7" + make DESTDIR="$pkgdir/" install + rm -r "$pkgdir/usr/var/" +} |