diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2019-02-13 19:56:55 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-02-17 21:56:33 +0700 |
commit | 21ff674337776fc2b0efecb153138ac056ac2b58 (patch) | |
tree | 1960e69b56a2fdef8485e987ead1478a2845cde2 /libraries/SFML/SFML.SlackBuild | |
parent | 21e4b07190b5d559a369e3ce6d09bf06338712d1 (diff) | |
download | slackbuilds-21ff674337776fc2b0efecb153138ac056ac2b58.tar.gz |
libraries/SFML: Updated for version 2.5.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'libraries/SFML/SFML.SlackBuild')
-rw-r--r-- | libraries/SFML/SFML.SlackBuild | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/libraries/SFML/SFML.SlackBuild b/libraries/SFML/SFML.SlackBuild index bafd1311b9..043952bc9e 100644 --- a/libraries/SFML/SFML.SlackBuild +++ b/libraries/SFML/SFML.SlackBuild @@ -2,8 +2,8 @@ # Slackware build script for SFML +# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece # Written by Pawel Standowicz (standek@gmail.com) -# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=SFML -VERSION=${VERSION:-2.4.2} +VERSION=${VERSION:-2.5.1} BUILD=${BUILD:-3} TAG=${TAG:-_SBo} @@ -86,14 +86,8 @@ cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# a cmake module from SFML is needed for SFGUI to build -# but it is not installed by default for some reason -CMAKEMODPATH=$(dirname `find /usr/share/ -type f -name "CMake.cmake"`) -mkdir -p ${PKG}${CMAKEMODPATH} -mv ${PKG}/usr/share/$PRGNAM/cmake/Modules/FindSFML.cmake ${PKG}${CMAKEMODPATH}/FindSFML.cmake - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a license.txt readme.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a *.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |