diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/sfml/PKGBUILD | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/sfml/PKGBUILD')
-rw-r--r-- | community/sfml/PKGBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/community/sfml/PKGBUILD b/community/sfml/PKGBUILD index e866d329c..f9539a454 100644 --- a/community/sfml/PKGBUILD +++ b/community/sfml/PKGBUILD @@ -1,34 +1,36 @@ -# $Id: PKGBUILD 94906 2013-08-01 06:55:35Z bpiotrowski $ +# $Id: PKGBUILD 103129 2013-12-26 21:26:17Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Ondrej Martinak <omartinak@gmail.com> pkgname=sfml -pkgver=2.1 +_commit=4a300547f3 +pkgver=2.1.0.$_commit 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') +makedepends=('mesa' 'cmake' 'doxygen' 'git') install=sfml.install -source=("${pkgname}-${pkgver}::https://github.com/LaurentGomila/SFML/archive/${pkgver}.tar.gz") -md5sums=('6457a5903b156390012773e9ef33f65f') +source=("git+https://github.com/LaurentGomila/SFML.git#commit=${_commit}") +md5sums=('SKIP') build() { - cd "$srcdir"/SFML-${pkgver} + cd "$srcdir"/SFML mkdir build && cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DSFML_BUILD_EXAMPLES=true \ - -DSFML_BUILD_DOC=true + -DSFML_BUILD_EXAMPLES=1 \ + -DSFML_BUILD_DOC=1 \ + -DCMAKE_CXX_FLAGS="-DGLXContextID=XID $CXXFLAGS" make make doc } package() { - cd "$srcdir"/SFML-${pkgver}/build + cd "$srcdir"/SFML/build make DESTDIR="$pkgdir/" install |