[arch-commits] Commit in sdl2/repos (4 files)
Jan Steffens
heftig at nymeria.archlinux.org
Fri Oct 25 13:03:58 UTC 2013
Date: Friday, October 25, 2013 @ 15:03:58
Author: heftig
Revision: 197405
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
sdl2/repos/staging-i686/
sdl2/repos/staging-i686/PKGBUILD
(from rev 197404, sdl2/trunk/PKGBUILD)
sdl2/repos/staging-x86_64/
sdl2/repos/staging-x86_64/PKGBUILD
(from rev 197404, sdl2/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
Copied: sdl2/repos/staging-i686/PKGBUILD (from rev 197404, sdl2/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2013-10-25 13:03:58 UTC (rev 197405)
@@ -0,0 +1,34 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=sdl2
+pkgver=2.0.1
+pkgrel=2
+pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2)"
+arch=('i686' 'x86_64')
+url="http://www.libsdl.org"
+license=('MIT')
+depends=('glibc' 'libxext' 'libxrender' 'libx11' 'libgl')
+makedepends=('alsa-lib' 'mesa' 'libpulse' 'libxrandr' 'libxinerama')
+optdepends=('alsa-lib: ALSA audio driver'
+ 'libpulse: PulseAudio audio driver')
+source=("http://www.libsdl.org/release/SDL2-${pkgver}.tar.gz")
+md5sums=('0eb97039488bf463e775295f7b18b227')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ ../SDL2-$pkgver/configure --prefix=/usr \
+ --enable-sdl-dlopen \
+ --disable-arts --disable-esd --disable-nas \
+ --enable-alsa --enable-pulseaudio-shared \
+ --disable-rpath
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+ install -Dm644 ../SDL2-$pkgver/COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
Copied: sdl2/repos/staging-x86_64/PKGBUILD (from rev 197404, sdl2/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2013-10-25 13:03:58 UTC (rev 197405)
@@ -0,0 +1,34 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=sdl2
+pkgver=2.0.1
+pkgrel=2
+pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2)"
+arch=('i686' 'x86_64')
+url="http://www.libsdl.org"
+license=('MIT')
+depends=('glibc' 'libxext' 'libxrender' 'libx11' 'libgl')
+makedepends=('alsa-lib' 'mesa' 'libpulse' 'libxrandr' 'libxinerama')
+optdepends=('alsa-lib: ALSA audio driver'
+ 'libpulse: PulseAudio audio driver')
+source=("http://www.libsdl.org/release/SDL2-${pkgver}.tar.gz")
+md5sums=('0eb97039488bf463e775295f7b18b227')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ ../SDL2-$pkgver/configure --prefix=/usr \
+ --enable-sdl-dlopen \
+ --disable-arts --disable-esd --disable-nas \
+ --enable-alsa --enable-pulseaudio-shared \
+ --disable-rpath
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+ install -Dm644 ../SDL2-$pkgver/COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list