diff options
Diffstat (limited to 'abs/core-testing/sdl/PKGBUILD')
-rw-r--r-- | abs/core-testing/sdl/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/core-testing/sdl/PKGBUILD b/abs/core-testing/sdl/PKGBUILD new file mode 100644 index 0000000..dabe808 --- /dev/null +++ b/abs/core-testing/sdl/PKGBUILD @@ -0,0 +1,26 @@ +# $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 +} |