[arch-commits] Commit in sdl2/repos (4 files)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Sun Sep 1 22:29:34 UTC 2013
Date: Monday, September 2, 2013 @ 00:29:34
Author: svenstaro
Revision: 193805
archrelease: copy trunk to community-i686, community-x86_64
Added:
sdl2/repos/community-i686/
sdl2/repos/community-i686/PKGBUILD
(from rev 193804, sdl2/trunk/PKGBUILD)
sdl2/repos/community-x86_64/
sdl2/repos/community-x86_64/PKGBUILD
(from rev 193804, sdl2/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: sdl2/repos/community-i686/PKGBUILD (from rev 193804, sdl2/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-09-01 22:29:34 UTC (rev 193805)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=sdl2
+pkgver=2.0.0
+pkgrel=4
+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' 'cmake' 'libxrandr' 'libxinerama')
+optdepends=('alsa-lib: ALSA audio driver'
+ 'libpulse: PulseAudio audio driver')
+source=("http://www.libsdl.org/release/SDL2-${pkgver}.tar.gz")
+md5sums=('beec89afb6edcc6f0abc4114f2e6bcf7')
+
+build() {
+ cd "${srcdir}/SDL2-${pkgver}"
+
+ mkdir build && cd build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSDL_STATIC=OFF \
+ -DRPATH=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/SDL2-${pkgver}/build"
+
+ make DESTDIR="${pkgdir}/" install
+
+ install -Dm644 ../COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Copied: sdl2/repos/community-x86_64/PKGBUILD (from rev 193804, sdl2/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-09-01 22:29:34 UTC (rev 193805)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=sdl2
+pkgver=2.0.0
+pkgrel=4
+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' 'cmake' 'libxrandr' 'libxinerama')
+optdepends=('alsa-lib: ALSA audio driver'
+ 'libpulse: PulseAudio audio driver')
+source=("http://www.libsdl.org/release/SDL2-${pkgver}.tar.gz")
+md5sums=('beec89afb6edcc6f0abc4114f2e6bcf7')
+
+build() {
+ cd "${srcdir}/SDL2-${pkgver}"
+
+ mkdir build && cd build
+
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSDL_STATIC=OFF \
+ -DRPATH=OFF
+ make
+}
+
+package() {
+ cd "${srcdir}/SDL2-${pkgver}/build"
+
+ make DESTDIR="${pkgdir}/" install
+
+ install -Dm644 ../COPYING.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list