[arch-commits] Commit in sfml/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed May 9 02:03:06 UTC 2018
Date: Wednesday, May 9, 2018 @ 02:03:05
Author: svenstaro
Revision: 319750
archrelease: copy trunk to community-x86_64
Added:
sfml/repos/community-x86_64/PKGBUILD
(from rev 319749, sfml/trunk/PKGBUILD)
Deleted:
sfml/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-09 02:03:01 UTC (rev 319749)
+++ PKGBUILD 2018-05-09 02:03:05 UTC (rev 319750)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Ondrej Martinak <omartinak at gmail.com>
-
-pkgname=sfml
-pkgver=2.4.2
-pkgrel=5
-pkgdesc='A simple, fast, cross-platform, and object-oriented multimedia API'
-arch=('x86_64')
-url='http://www.sfml-dev.org/'
-license=('zlib')
-depends=('libsndfile' 'libxrandr' 'libjpeg' 'openal' 'glew' 'freetype2' 'libx11')
-makedepends=('mesa' 'cmake' 'doxygen' 'git' 'systemd')
-source=("git+git://github.com/LaurentGomila/SFML.git#tag=${pkgver}")
-sha512sums=('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/lib/cmake/SFML/FindSFML.cmake"
-
- install -Dm644 ../license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
Copied: sfml/repos/community-x86_64/PKGBUILD (from rev 319749, sfml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-09 02:03:05 UTC (rev 319750)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Ondrej Martinak <omartinak at gmail.com>
+
+pkgname=sfml
+pkgver=2.5.0
+pkgrel=1
+pkgdesc='A simple, fast, cross-platform, and object-oriented multimedia API'
+arch=('x86_64')
+url='http://www.sfml-dev.org/'
+license=('zlib')
+depends=('libsndfile' 'libxrandr' 'libjpeg' 'openal' 'glew' 'freetype2' 'libx11')
+makedepends=('mesa' 'cmake' 'doxygen' 'systemd')
+source=(https://github.com/SFML/SFML/archive/${pkgver}.tar.gz)
+sha512sums=('94306dcbed7d68bb7e226cd91e25950a07bcf393988c4bb79f9de3555c18c78cae4573e911235f712e711a7c02a614bf370df32b8d85240d2f08142327e05076')
+
+build() {
+ cd SFML-${pkgver}
+
+ mkdir build && cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -SFML_USE_SYSTEM_DEPS=ON \
+ -DSFML_BUILD_EXAMPLES=1 \
+ -DSFML_BUILD_DOC=1 \
+ -DSFML_INSTALL_PKGCONFIG_FILES=1
+ make
+ make doc
+}
+
+package() {
+ cd SFML-${pkgver}/build
+
+ make DESTDIR="$pkgdir/" install
+
+ install -Dm644 ../license.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
More information about the arch-commits
mailing list