core/sdl/PKGBUILD
Jan Mette 93d9bd24fe
2010-03-14 15:48:48 +00:00

25 lines
782 B
Bash

# $Id: PKGBUILD 56280 2009-10-21 01:30:23Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
pkgname=sdl
pkgver=1.2.14
pkgrel=1
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
arch=('i686' 'x86_64')
url="http://www.libsdl.org"
license=('LGPL')
depends=('glibc' 'libxext' 'libxrender' 'libx11')
makedepends=('alsa-lib' 'esound' 'mesa')
options=('!libtool')
source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz)
md5sums=('e52086d1b508fa0b76c52ee30b55bec4')
build() {
cd ${srcdir}/SDL-${pkgver}
./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd \
--with-x --disable-rpath
make || return 1
make DESTDIR=${pkgdir} install
}