[arch-commits] Commit in sfml/repos (6 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Jul 24 09:18:25 UTC 2015


    Date: Friday, July 24, 2015 @ 11:18:25
  Author: svenstaro
Revision: 137363

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 137362, sfml/trunk/PKGBUILD)
  sfml/repos/community-staging-i686/sfml.install
    (from rev 137362, sfml/trunk/sfml.install)
  sfml/repos/community-staging-x86_64/
  sfml/repos/community-staging-x86_64/PKGBUILD
    (from rev 137362, sfml/trunk/PKGBUILD)
  sfml/repos/community-staging-x86_64/sfml.install
    (from rev 137362, sfml/trunk/sfml.install)

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

Copied: sfml/repos/community-staging-i686/PKGBUILD (from rev 137362, sfml/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-07-24 09:18:25 UTC (rev 137363)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Ondrej Martinak <omartinak at gmail.com>
+
+pkgname=sfml
+pkgver=2.3.1
+pkgrel=2
+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' 'xcb-util-image')
+makedepends=('mesa' 'cmake' 'doxygen' 'git')
+install=sfml.install
+source=("git+git://github.com/LaurentGomila/SFML.git#tag=${pkgver}")
+md5sums=('SKIP')
+
+build() {
+  cd "$srcdir"/SFML
+
+  mkdir build && cd build
+  cmake .. \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DSFML_BUILD_EXAMPLES=1 \
+      -DSFML_BUILD_DOC=1 \
+      -DSFML_INSTALL_PKGCONFIG_FILES=1
+  make
+  make doc
+}
+
+package() {
+  cd "$srcdir"/SFML/build
+
+  make DESTDIR="$pkgdir/" install
+
+  install -Dm644 "$pkgdir/usr/share/SFML/cmake/Modules/FindSFML.cmake" "$pkgdir/usr/share/cmake-3.3/Modules/FindSFML.cmake"
+
+  install -Dm644 ../license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+

Copied: sfml/repos/community-staging-i686/sfml.install (from rev 137362, sfml/trunk/sfml.install)
===================================================================
--- community-staging-i686/sfml.install	                        (rev 0)
+++ community-staging-i686/sfml.install	2015-07-24 09:18:25 UTC (rev 137363)
@@ -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 137362, sfml/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-07-24 09:18:25 UTC (rev 137363)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Ondrej Martinak <omartinak at gmail.com>
+
+pkgname=sfml
+pkgver=2.3.1
+pkgrel=2
+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' 'xcb-util-image')
+makedepends=('mesa' 'cmake' 'doxygen' 'git')
+install=sfml.install
+source=("git+git://github.com/LaurentGomila/SFML.git#tag=${pkgver}")
+md5sums=('SKIP')
+
+build() {
+  cd "$srcdir"/SFML
+
+  mkdir build && cd build
+  cmake .. \
+      -DCMAKE_INSTALL_PREFIX=/usr \
+      -DSFML_BUILD_EXAMPLES=1 \
+      -DSFML_BUILD_DOC=1 \
+      -DSFML_INSTALL_PKGCONFIG_FILES=1
+  make
+  make doc
+}
+
+package() {
+  cd "$srcdir"/SFML/build
+
+  make DESTDIR="$pkgdir/" install
+
+  install -Dm644 "$pkgdir/usr/share/SFML/cmake/Modules/FindSFML.cmake" "$pkgdir/usr/share/cmake-3.3/Modules/FindSFML.cmake"
+
+  install -Dm644 ../license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+

Copied: sfml/repos/community-staging-x86_64/sfml.install (from rev 137362, sfml/trunk/sfml.install)
===================================================================
--- community-staging-x86_64/sfml.install	                        (rev 0)
+++ community-staging-x86_64/sfml.install	2015-07-24 09:18:25 UTC (rev 137363)
@@ -0,0 +1,3 @@
+post_install() {
+    echo "To view the SFML samples, go to /usr/share/SFML/examples/ and run them individually"
+}



More information about the arch-commits mailing list