Date: Saturday, July 27, 2013 @ 12:31:24
  Author: svenstaro
Revision: 94563

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  sfml/repos/community-staging-i686/
  sfml/repos/community-staging-i686/PKGBUILD
    (from rev 94562, sfml/trunk/PKGBUILD)
  sfml/repos/community-staging-i686/sfml.install
    (from rev 94562, sfml/trunk/sfml.install)
  sfml/repos/community-staging-x86_64/
  sfml/repos/community-staging-x86_64/PKGBUILD
    (from rev 94562, sfml/trunk/PKGBUILD)
  sfml/repos/community-staging-x86_64/sfml.install
    (from rev 94562, sfml/trunk/sfml.install)

---------------------------------------+
 community-staging-i686/PKGBUILD       |   39 ++++++++++++++++++++++++++++++++
 community-staging-i686/sfml.install   |    3 ++
 community-staging-x86_64/PKGBUILD     |   39 ++++++++++++++++++++++++++++++++
 community-staging-x86_64/sfml.install |    3 ++
 4 files changed, 84 insertions(+)

Copied: sfml/repos/community-staging-i686/PKGBUILD (from rev 94562, 
sfml/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2013-07-27 10:31:24 UTC (rev 94563)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: Ondrej Martinak <[email protected]>
+
+pkgname=sfml
+pkgver=2.1
+pkgrel=1
+pkgdesc='A simple, fast, cross-platform, and object-oriented multimedia API'
+arch=('i686' 'x86_64')
+url='http://www.sfml-dev.org/'
+license=('zlib')
+depends=('libsndfile' 'libxrandr' 'libjpeg' 'openal' 'glew' 'freetype2')
+makedepends=('mesa' 'cmake' 'doxygen')
+install=sfml.install
+source=("${pkgname}-${pkgver}::https://github.com/LaurentGomila/SFML/archive/${pkgver}.tar.gz";)
+md5sums=('6457a5903b156390012773e9ef33f65f')
+
+build() {
+  cd "$srcdir"/SFML-${pkgver}
+
+  mkdir build && cd build
+  cmake .. \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DSFML_BUILD_EXAMPLES=true \
+      -DSFML_BUILD_DOC=true
+  make
+  make doc
+}
+
+package() {
+  cd "$srcdir"/SFML-${pkgver}/build
+
+  make DESTDIR="$pkgdir/" install
+
+  install -Dm644 "$pkgdir/usr/share/SFML/cmake/Modules/FindSFML.cmake" 
"$pkgdir/usr/share/cmake-2.8/Modules/FindSFML.cmake"
+
+  install -Dm644 ../license.txt 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+

Copied: sfml/repos/community-staging-i686/sfml.install (from rev 94562, 
sfml/trunk/sfml.install)
===================================================================
--- community-staging-i686/sfml.install                         (rev 0)
+++ community-staging-i686/sfml.install 2013-07-27 10:31:24 UTC (rev 94563)
@@ -0,0 +1,3 @@
+post_install() {
+    echo "To view the SFML samples, go to /usr/share/SFML/examples/ and run 
them individually"
+}

Copied: sfml/repos/community-staging-x86_64/PKGBUILD (from rev 94562, 
sfml/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2013-07-27 10:31:24 UTC (rev 94563)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: Ondrej Martinak <[email protected]>
+
+pkgname=sfml
+pkgver=2.1
+pkgrel=1
+pkgdesc='A simple, fast, cross-platform, and object-oriented multimedia API'
+arch=('i686' 'x86_64')
+url='http://www.sfml-dev.org/'
+license=('zlib')
+depends=('libsndfile' 'libxrandr' 'libjpeg' 'openal' 'glew' 'freetype2')
+makedepends=('mesa' 'cmake' 'doxygen')
+install=sfml.install
+source=("${pkgname}-${pkgver}::https://github.com/LaurentGomila/SFML/archive/${pkgver}.tar.gz";)
+md5sums=('6457a5903b156390012773e9ef33f65f')
+
+build() {
+  cd "$srcdir"/SFML-${pkgver}
+
+  mkdir build && cd build
+  cmake .. \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DSFML_BUILD_EXAMPLES=true \
+      -DSFML_BUILD_DOC=true
+  make
+  make doc
+}
+
+package() {
+  cd "$srcdir"/SFML-${pkgver}/build
+
+  make DESTDIR="$pkgdir/" install
+
+  install -Dm644 "$pkgdir/usr/share/SFML/cmake/Modules/FindSFML.cmake" 
"$pkgdir/usr/share/cmake-2.8/Modules/FindSFML.cmake"
+
+  install -Dm644 ../license.txt 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+

Copied: sfml/repos/community-staging-x86_64/sfml.install (from rev 94562, 
sfml/trunk/sfml.install)
===================================================================
--- community-staging-x86_64/sfml.install                               (rev 0)
+++ community-staging-x86_64/sfml.install       2013-07-27 10:31:24 UTC (rev 
94563)
@@ -0,0 +1,3 @@
+post_install() {
+    echo "To view the SFML samples, go to /usr/share/SFML/examples/ and run 
them individually"
+}

Reply via email to