diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-09-06 15:07:55 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-09-06 15:07:55 -0300 |
commit | d66e2ddf1eaff25f83d00afdc336c10252f56162 (patch) | |
tree | dc6751a2534069809cec7a8538787afc8c83b6c9 /libre/sdl-libre/PKGBUILD | |
parent | cbdc1be962cc674c1745435ded78ff1cd22e103f (diff) |
libre/sdl-libre-1.2.14-7
Diffstat (limited to 'libre/sdl-libre/PKGBUILD')
-rw-r--r-- | libre/sdl-libre/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/libre/sdl-libre/PKGBUILD b/libre/sdl-libre/PKGBUILD new file mode 100644 index 000000000..6d1767ec6 --- /dev/null +++ b/libre/sdl-libre/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 135310 2011-08-12 14:45:48Z ibiru $ +#mips64el Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: dorphell <dorphell@archlinux.org> +# Maintainer: Henry Jensen <hjensen@connochaetos.org> + +pkgname=sdl-libre +pkgver=1.2.14 +pkgrel=7 +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') +provides=("sdl=${pkgver}") +conflicts=('sdl') +depends=('glibc' 'libxext' 'libxrender' 'libx11') +makedepends=('alsa-lib' 'mesa') +replaces=('sdl') +options=('!libtool') +source=(http://repo.parabolagnulinux.org/other/SDL-${pkgver}-libre.tar.gz + sdl-1.2.14-joystick-crash.diff + sdl-1.2.14-fix-mouse-clicking.patch + sdl-1.2.14-fix-disappearing-cursor.patch) +md5sums=('b8ac7254fe5425a0fb238fb535d3d14c' + '9d8890b3817736a5d365f7497f096634' + '04d8c179f125e04bcd4c9d60e013c2d7' + 'a6cf3e71b653aa97d0d8ae6c0a789807') + +build() { + cd ${srcdir}/SDL-${pkgver}-libre + patch -Np1 -i $srcdir/sdl-1.2.14-joystick-crash.diff + patch -Np1 -i $srcdir/sdl-1.2.14-fix-mouse-clicking.patch + patch -Np1 -i $srcdir/sdl-1.2.14-fix-disappearing-cursor.patch + ./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd \ + --with-x --disable-rpath + make +} + +package() { + cd ${srcdir}/SDL-${pkgver}-libre + make DESTDIR=${pkgdir} install +} |