# $Id: PKGBUILD 16059 2008-10-20 12:58:43Z allan $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: dorphell <dorphell@archlinux.org> pkgname=sdl pkgver=1.2.13 pkgrel=3 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' 'mesa') options=('!libtool') source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz sdl-1.2.13-dynaminc-esd.patch) md5sums=('c6660feea2a6834de10bc71b2f8e4d88' '7c2f51f526f3b905b6170f39a7015eb9') build() { cd ${srcdir}/SDL-${pkgver} patch -Np1 -i $srcdir/sdl-1.2.13-dynaminc-esd.patch ./configure --prefix=/usr --disable-nasm --enable-alsa --disable-esd --with-x --disable-rpath make || return 1 make DESTDIR=${pkgdir} install }