[arch-commits] Commit in lib32-sdl2/trunk (PKGBUILD)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Sun Mar 16 23:54:55 UTC 2014
Date: Monday, March 17, 2014 @ 00:54:55
Author: alucryd
Revision: 107310
upgpkg: lib32-sdl2 2.0.3-1
Modified:
lib32-sdl2/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-16 23:42:56 UTC (rev 107309)
+++ PKGBUILD 2014-03-16 23:54:55 UTC (rev 107310)
@@ -4,8 +4,8 @@
# Contributor: J0k3r <moebius282 at gmail.com>
pkgname=lib32-sdl2
-pkgver=2.0.2
-pkgrel=2
+pkgver=2.0.3
+pkgrel=1
pkgdesc='A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2)'
arch=('x86_64')
url='http://www.libsdl.org'
@@ -15,28 +15,21 @@
optdepends=('lib32-alsa-lib: ALSA audio driver'
'lib32-libpulse: PulseAudio audio driver')
source=("${url}/release/SDL2-${pkgver}.tar.gz")
-sha256sums=('590157f85a8a8b52723848169a74eec6ca07ab4a75cec15beedde648f980e850')
+sha256sums=('a5a69a6abf80bcce713fa873607735fe712f44276a7f048d60a61bb2f6b3c90c')
-prepare() {
- if [[ -d build ]]; then
- rm -rf build
- fi
- mkdir build
-}
-
build() {
- cd build
+ cd SDL2-${pkgver}
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
- ../SDL2-${pkgver}/configure --prefix='/usr' --libdir='/usr/lib32' --enable-{alsa,pulseaudio-shared,sdl-dlopen,video-wayland} --disable-{arts,esd,nas,rpath}
+ ./configure --prefix='/usr' --libdir='/usr/lib32' --enable-{alsa,pulseaudio-shared,sdl-dlopen,video-wayland} --disable-{arts,esd,nas,rpath}
make
}
package() {
- cd build
+ cd SDL2-${pkgver}
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{bin,include,share}
More information about the arch-commits
mailing list