[arch-commits] Commit in sfml/repos (6 files)
Felix Yan
fyan at archlinux.org
Fri Nov 13 07:57:55 UTC 2015
Date: Friday, November 13, 2015 @ 08:57:55
Author: fyan
Revision: 146697
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
sfml/repos/community-testing-i686/
sfml/repos/community-testing-i686/PKGBUILD
(from rev 146696, sfml/trunk/PKGBUILD)
sfml/repos/community-testing-i686/sfml.install
(from rev 146696, sfml/trunk/sfml.install)
sfml/repos/community-testing-x86_64/
sfml/repos/community-testing-x86_64/PKGBUILD
(from rev 146696, sfml/trunk/PKGBUILD)
sfml/repos/community-testing-x86_64/sfml.install
(from rev 146696, sfml/trunk/sfml.install)
---------------------------------------+
community-testing-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++
community-testing-i686/sfml.install | 3 ++
community-testing-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++
community-testing-x86_64/sfml.install | 3 ++
4 files changed, 86 insertions(+)
Copied: sfml/repos/community-testing-i686/PKGBUILD (from rev 146696, sfml/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-11-13 07:57:55 UTC (rev 146697)
@@ -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.2
+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.4/Modules/FindSFML.cmake"
+
+ install -Dm644 ../license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
Copied: sfml/repos/community-testing-i686/sfml.install (from rev 146696, sfml/trunk/sfml.install)
===================================================================
--- community-testing-i686/sfml.install (rev 0)
+++ community-testing-i686/sfml.install 2015-11-13 07:57:55 UTC (rev 146697)
@@ -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-testing-x86_64/PKGBUILD (from rev 146696, sfml/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2015-11-13 07:57:55 UTC (rev 146697)
@@ -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.2
+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.4/Modules/FindSFML.cmake"
+
+ install -Dm644 ../license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
Copied: sfml/repos/community-testing-x86_64/sfml.install (from rev 146696, sfml/trunk/sfml.install)
===================================================================
--- community-testing-x86_64/sfml.install (rev 0)
+++ community-testing-x86_64/sfml.install 2015-11-13 07:57:55 UTC (rev 146697)
@@ -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