diff options
author | root <root@rshg054.dnsready.net> | 2013-05-29 01:29:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-29 01:29:52 -0700 |
commit | d267e861074512027414df29d18d9824e0faae8f (patch) | |
tree | 770bb482bb715a84eab76bfbfa1b748d31a13541 /community/ipguard | |
parent | 72a09de07cab5e8ad5c3ec7c36814663a3f7a33b (diff) |
Wed May 29 01:29:24 PDT 2013
Diffstat (limited to 'community/ipguard')
-rw-r--r-- | community/ipguard/PKGBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/community/ipguard/PKGBUILD b/community/ipguard/PKGBUILD index f8fa6796a..691be3d32 100644 --- a/community/ipguard/PKGBUILD +++ b/community/ipguard/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 65572 2012-02-21 09:01:48Z spupykin $ +# $Id: PKGBUILD 91832 2013-05-28 17:04:05Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> 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,14 +15,20 @@ source=(http://ipguard.deep.perm.ru/files/$pkgname-$pkgver.tar.gz md5sums=('7f44f7c31876f0d68792f02047e25409' 'b27cfc9e8ad4ef9459d7274a2e624831') -build() { +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 CFLAGS="-DLIBNET_LIL_ENDIAN" make - make PREFIX=$pkgdir/usr install +} +package() { + cd $srcdir/$pkgname-$pkgver + make PREFIX=$pkgdir/usr install mkdir -p $pkgdir/usr/share mv $pkgdir/usr/man $pkgdir/usr/share/ } |