Date: Wednesday, July 13, 2016 @ 02:49:58 Author: felixonmars Revision: 182820
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 182819, sfml/trunk/PKGBUILD) sfml/repos/community-staging-i686/sfml.install (from rev 182819, sfml/trunk/sfml.install) sfml/repos/community-staging-x86_64/ sfml/repos/community-staging-x86_64/PKGBUILD (from rev 182819, sfml/trunk/PKGBUILD) sfml/repos/community-staging-x86_64/sfml.install (from rev 182819, 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 182819, sfml/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-07-13 02:49:58 UTC (rev 182820) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Ondrej Martinak <omarti...@gmail.com> + +pkgname=sfml +pkgver=2.3.2 +pkgrel=5 +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.6/Modules/FindSFML.cmake" + + install -Dm644 ../license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + Copied: sfml/repos/community-staging-i686/sfml.install (from rev 182819, sfml/trunk/sfml.install) =================================================================== --- community-staging-i686/sfml.install (rev 0) +++ community-staging-i686/sfml.install 2016-07-13 02:49:58 UTC (rev 182820) @@ -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 182819, sfml/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-07-13 02:49:58 UTC (rev 182820) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Ondrej Martinak <omarti...@gmail.com> + +pkgname=sfml +pkgver=2.3.2 +pkgrel=5 +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.6/Modules/FindSFML.cmake" + + install -Dm644 ../license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + Copied: sfml/repos/community-staging-x86_64/sfml.install (from rev 182819, sfml/trunk/sfml.install) =================================================================== --- community-staging-x86_64/sfml.install (rev 0) +++ community-staging-x86_64/sfml.install 2016-07-13 02:49:58 UTC (rev 182820) @@ -0,0 +1,3 @@ +post_install() { + echo "To view the SFML samples, go to /usr/share/SFML/examples/ and run them individually" +}