diff options
author | SanskritFritz | 2016-01-26 23:02:32 +0100 |
---|---|---|
committer | SanskritFritz | 2016-01-26 23:02:32 +0100 |
commit | 97fc68a909ff2b3b6111c37a4e8b0442f11f7868 (patch) | |
tree | 84ae24211fd95d8da6cfb6274b606b367f66dc11 | |
parent | 92f29f7c9a71744863cba5e7770e0607a3e56ac3 (diff) | |
download | aur-97fc68a909ff2b3b6111c37a4e8b0442f11f7868.tar.gz |
Git source fixed. MAKEFLAGS=-j1
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 12 insertions, 9 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Tue Jan 26 18:58:36 UTC 2016 +# Tue Jan 26 22:00:58 UTC 2016 pkgbase = firehol-git pkgdesc = The iptables stateful packet filtering firewall builder. pkgver = v3.0.1.r8.g6c426bd - pkgrel = 1 + pkgrel = 2 epoch = 1 url = http://firehol.org/ install = firehol.install @@ -22,7 +22,7 @@ pkgbase = firehol-git conflicts = firehol backup = etc/firehol/firehol.conf backup = etc/firehol/fireqos.conf - source = git://github.com/ktsaou/firehol.git + source = firehol::git+https://github.com/firehol/firehol source = firehol.service source = fireqos.service md5sums = SKIP @@ -7,7 +7,7 @@ pkgname=firehol-git _gitname=firehol pkgver=v3.0.1.r8.g6c426bd -pkgrel=1 +pkgrel=2 epoch=1 pkgdesc="The iptables stateful packet filtering firewall builder." url="http://firehol.org/" @@ -19,7 +19,7 @@ provides=('firehol') conflicts=('firehol') backup=('etc/firehol/firehol.conf' 'etc/firehol/fireqos.conf') install='firehol.install' -source=('git://github.com/ktsaou/firehol.git' +source=("$_gitname::git+https://github.com/firehol/firehol" 'firehol.service' 'fireqos.service') pkgver() { @@ -28,15 +28,18 @@ pkgver() { } build() { - cd "$srcdir/$_gitname" + cd "$_gitname" ./autogen.sh ./configure --enable-maintainer-mode --prefix="/usr" --sysconfdir="/etc" --sbindir="/usr/bin" - make + + # Documents are created in certain order + # thus parallel processing must be disabled: + MAKEFLAGS="-j1" make } package() { - cd "$srcdir/$_gitname" + cd "$_gitname" make prefix="$pkgdir/usr" sysconfdir="$pkgdir/etc" sbindir="$pkgdir/usr/bin" install @@ -44,7 +47,7 @@ package() { install -D -m644 $srcdir/fireqos.service "$pkgdir/usr/lib/systemd/system/fireqos.service" # backup does not work if the file is not contained in the package - # plus, creating it in post_install will set 777 permissions and we dont want that + # plus, creating it in post_install will set 777 permissions and we don't want that touch "$pkgdir/etc/firehol/firehol.conf" chmod 600 "$pkgdir/etc/firehol/firehol.conf" touch "$pkgdir/etc/firehol/fireqos.conf" |