[arch-commits] Commit in sdl/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sat May 22 12:17:13 UTC 2010
Date: Saturday, May 22, 2010 @ 08:17:13
Author: allan
Revision: 80801
upgpkg: sdl 1.2.14-2
fix muse clicking issue in wesnoth
Modified:
sdl/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-05-22 11:25:32 UTC (rev 80800)
+++ PKGBUILD 2010-05-22 12:17:13 UTC (rev 80801)
@@ -4,7 +4,7 @@
pkgname=sdl
pkgver=1.2.14
-pkgrel=1
+pkgrel=2
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"
@@ -12,13 +12,20 @@
depends=('glibc' 'libxext' 'libxrender' 'libx11')
makedepends=('alsa-lib' 'esound' 'mesa')
options=('!libtool')
-source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz)
-md5sums=('e52086d1b508fa0b76c52ee30b55bec4')
+source=(http://www.libsdl.org/release/SDL-${pkgver}.tar.gz
+ sdl-1.2.14-fix-mouse-clicking.patch)
+md5sums=('e52086d1b508fa0b76c52ee30b55bec4'
+ '04d8c179f125e04bcd4c9d60e013c2d7')
build() {
cd ${srcdir}/SDL-${pkgver}
+ patch -Np1 -i ${srcdir}/sdl-1.2.14-fix-mouse-clicking.patch
./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd \
--with-x --disable-rpath
make || return 1
+}
+
+package() {
+ cd ${srcdir}/SDL-${pkgver}
make DESTDIR=${pkgdir} install
}
More information about the arch-commits
mailing list