updated on Mon Jan 23 16:10:15 UTC 2012
[aur-mirror.git] / sdl-13 / PKGBUILD
blobf7163a5b37ad2c7c9f4126e7d1cf91adf74b49d7
1 # Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
3 pkgname=sdl-13
4 _prever=5538
5 pkgver=1.3.0.pre_${_prever}
6 pkgrel=2
7 pkgdesc="Next gen of SDL: A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
8 arch=('i686' 'x86_64')
9 url="http://www.galaxygameworks.com"
10 license=('zlib')
11 conflicts=('sdl')
12 depends=('libx11' 'libxcursor' 'libxrandr' 'libxinerama' 'libxext' 'libxxf86vm' 'mesa')
13 source=(http://www.libsdl.org/tmp/SDL-1.3.0-$_prever.tar.gz)
15 build() {
16   cd "${srcdir}/SDL-1.3.0-${_prever}"
18 if [[ "$CARCH" == "x86_64" ]]; then
19         _enable_sse2=enable
20 else
21         _enable_sse2=disable
24   ./configure --prefix=/usr \
25         --enable-alsa \
26         --enable-x11-shared \
27         --${_enable_sse2}-sse2
28   make
31 package() {
32   cd "${srcdir}/SDL-1.3.0-${_prever}"
34   make DESTDIR="${pkgdir}/" install
37 # vim:set ts=2 sw=2 et:
38 md5sums=('2ea23676fb244554496c9e0e1ed41284')