[sdl2] Update package to prevent installing upstream updates (#613)

This commit is contained in:
clayton craft 2017-09-23 01:10:31 +00:00 committed by Oliver Smith
parent c95390d499
commit 8462820994

View file

@ -1,20 +1,21 @@
pkgname=sdl2 pkgname=sdl2
pkgver=2.0.5 pkgver=9999
pkgrel=0 _pkgver=2.0.5
pkgrel=2
_pkgname=SDL2 _pkgname=SDL2
pkgdesc="A development library designed to provide low level access to audio, keyboard, mouse, joystick and graphics" pkgdesc="A development library designed to provide low level access to audio, keyboard, mouse, joystick and graphics"
url="http://www.libsdl.org" url="http://www.libsdl.org"
arch="all" arch="all"
license="zlib" license="zlib"
depends="directfb" depends="directfb tslib"
depends_dev="alsa-lib-dev libxcursor-dev libxrandr-dev libxrender-dev mesa-dev directfb" depends_dev="alsa-lib-dev libxcursor-dev libxrandr-dev libxrender-dev mesa-dev directfb-dev tslib-dev"
makedepends="$depends_dev" makedepends="$depends_dev"
subpackages="$pkgname-dev" subpackages="$pkgname-dev"
source="https://www.libsdl.org/release/$_pkgname-$pkgver.tar.gz source="https://www.libsdl.org/release/$_pkgname-$_pkgver.tar.gz
altivec-fixes.patch altivec-fixes.patch
0001-fix-c90-errors.patch" 0001-fix-c90-errors.patch"
builddir="$srcdir/$_pkgname-$pkgver" builddir="$srcdir/$_pkgname-$_pkgver"
prepare(){ prepare(){
cd "$builddir" cd "$builddir"