diff options
Diffstat (limited to 'abs/core/sdl/PKGBUILD')
-rw-r--r-- | abs/core/sdl/PKGBUILD | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/abs/core/sdl/PKGBUILD b/abs/core/sdl/PKGBUILD index be6508a..dabe808 100644 --- a/abs/core/sdl/PKGBUILD +++ b/abs/core/sdl/PKGBUILD @@ -1,21 +1,26 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: dorphell <dorphell@archlinux.org> +# $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=1 +pkgrel=3 pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard" -arch=(i686 x86_64) +arch=('i686' 'x86_64') +url="http://www.libsdl.org" license=('LGPL') depends=('glibc' 'libxext' 'libxrender' 'libx11') +makedepends=('alsa-lib' 'mesa') options=('!libtool') -makedepends=('alsa-lib' 'esd' 'mesa') -source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz) -url="http://www.libsdl.org" -md5sums=('c6660feea2a6834de10bc71b2f8e4d88') +source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz + sdl-1.2.13-dynaminc-esd.patch) +md5sums=('c6660feea2a6834de10bc71b2f8e4d88' + '7c2f51f526f3b905b6170f39a7015eb9') build() { - cd ${startdir}/src/SDL-${pkgver} - ./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd --with-x + 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=${startdir}/pkg install + make DESTDIR=${pkgdir} install } |