updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / gnelib / PKGBUILD
blob8b295fcae73c96614d138d8d5f6ee2fd16217374
1 # Contributor: William Rea <sillywilly@gmail.com>
2 pkgname=gnelib
3 pkgver=0.70
4 pkgrel=2
5 pkgdesc="Game Networking Engine"
6 arch=(i686 x86_64)
7 url="http://www.gillius.org/gne"
8 license="LGPL"
9 depends=('hawknl')
10 source=(http://dl.sourceforge.net/sourceforge/gnelib/gnelib-$pkgver.tar.bz2)
11 md5sums=('7c5b58144aa39c15e75e84039f84bff3')
13 build() {
14   cd $startdir/src/gnelib-$pkgver
15   chmod 755 include/gnelib.h
16   find -name makefile.linux -exec sed -i "s|/usr/local|$startdir/pkg/usr|" {} \;
17   sh fixlinux.sh
18   make lib || return 1
19   install -d $startdir/pkg/usr/include $startdir/pkg/usr/lib
20   make DESTDIR=$startdir/pkg install