3 pkgname=libnfnetlink-git
6 pkgdesc="low-level library for netfilter related kernel/userspace communication"
7 url="http://www.netfilter.org/projects/libnfnetlink/index.html"
12 provides=('libnfnetlink')
13 conflicts=('libnfnetlink')
14 arch=('i686' 'x86_64')
16 _gitroot="git://git.netfilter.org/libnfnetlink.git"
17 _gitname="libnfnetlink.git"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
38 ./configure --prefix=/usr --disable-static --enable-shared
43 cd "$srcdir/$_gitname-build"
44 make DESTDIR="$pkgdir/" install