PKGBUILDs/extra/sdl_net/PKGBUILD

22 lines
606 B
Bash

# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=sdl_net
pkgver=1.2.7
pkgrel=3
pkgdesc="A small sample cross-platform networking library"
arch=('arm')
url="http://www.libsdl.org/projects/SDL_net/"
license=('GPL')
depends=('sdl')
options=('!libtool')
source=(http://www.libsdl.org/projects/SDL_net/release/SDL_net-${pkgver}.tar.gz)
md5sums=('6bd4662d1423810f3140d4da21b6d912')
build() {
cd ${srcdir}/SDL_net-${pkgver}
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install
}