diff options
Diffstat (limited to 'community/hawknl/PKGBUILD')
-rw-r--r-- | community/hawknl/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/hawknl/PKGBUILD b/community/hawknl/PKGBUILD new file mode 100644 index 000000000..ab40d900f --- /dev/null +++ b/community/hawknl/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 27661 2010-09-26 18:25:05Z svenstaro $ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> +# Contributor: Drew Desai <alerante@yahoo.com> +# Contributor: Hugo Ideler <hugoideler@dse.nl> + +pkgname=hawknl +pkgver=1.68 +pkgrel=2 +pkgdesc="An open source game oriented network API" +arch=('i686' 'x86_64') +url="http://www.hawksoft.com/hawknl/" +license=('LGPL') +depends=('glibc') +source=(http://www.hawksoft.com/download/files/HawkNL${pkgver/\./}src.tar.gz + $pkgname.patch) +md5sums=('2e4971d422b8c5cadfe2a85527ff2fcf' + 'a7e695ceeabb816ba147de563c61616f') + +build() { + cd "$srcdir"/$pkgname$pkgver + patch -Np0 -i ../$pkgname.patch || return 1 + make -f makefile.linux || return 1 + install -m755 -d "$pkgdir"/usr/{lib,include} + make -f makefile.linux \ + LIBDIR="$pkgdir"/usr/lib \ + INCDIR="$pkgdir"/usr/include \ + OPTFLAGS="-D_GNU_SOURCE -D_REENTRANT" \ + install || return 1 +} |