summaryrefslogtreecommitdiff
path: root/libraries/SFML/SFML.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/SFML/SFML.SlackBuild')
-rw-r--r--libraries/SFML/SFML.SlackBuild12
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