[arch-commits] Commit in ipguard/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Tue May 28 17:03:49 UTC 2013


    Date: Tuesday, May 28, 2013 @ 19:03:49
  Author: spupykin
Revision: 91831

upgpkg: ipguard 1.04-3

upd

Modified:
  ipguard/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-28 17:03:45 UTC (rev 91830)
+++ PKGBUILD	2013-05-28 17:03:49 UTC (rev 91831)
@@ -4,7 +4,7 @@
 
 pkgname=ipguard
 pkgver=1.04
-pkgrel=2
+pkgrel=3
 pkgdesc="ipguard - arp<->ip relation checking tool"
 arch=(i686 x86_64)
 url="http://ipguard.deep.perm.ru/"
@@ -15,9 +15,14 @@
 md5sums=('7f44f7c31876f0d68792f02047e25409'
          'b27cfc9e8ad4ef9459d7274a2e624831')
 
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  patch -Np1 <../build-fix-le.patch
+  sed -i 's|$(PREFIX)/sbin|$(PREFIX)/bin|g' Makefile
+}
+
 build() {
   cd $srcdir/$pkgname-$pkgver
-  patch -Np1 <../build-fix-le.patch
   CFLAGS="-DLIBNET_LIL_ENDIAN" make
 }
 




More information about the arch-commits mailing list