diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-20 00:35:07 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-20 23:59:30 +0700 |
commit | b987dc90f388cf8742a658a912d2d3b783be066c (patch) | |
tree | 4cd4748526396162cff174e342fd694aca75ba22 /libraries | |
parent | d328c13a7f3b9365029dc7e2cfee118299d1556a (diff) | |
download | slackbuilds-b987dc90f388cf8742a658a912d2d3b783be066c.tar.gz |
libraries/SFGUI: Updated for version 0.3.0.
Fixes build failure with SFML-2.3.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/SFGUI/SFGUI.SlackBuild | 10 | ||||
-rw-r--r-- | libraries/SFGUI/SFGUI.info | 6 |
2 files changed, 9 insertions, 7 deletions
diff --git a/libraries/SFGUI/SFGUI.SlackBuild b/libraries/SFGUI/SFGUI.SlackBuild index 2f13a2953c..4d1707634a 100644 --- a/libraries/SFGUI/SFGUI.SlackBuild +++ b/libraries/SFGUI/SFGUI.SlackBuild @@ -10,7 +10,7 @@ # without any warranty. PRGNAM=SFGUI -VERSION=${VERSION:-0.2.3} +VERSION=${VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -47,7 +47,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -unzip $CWD/$PRGNAM-$VERSION-source.zip +unzip $CWD/$PRGNAM-$VERSION.zip || unzip $CWD/$VERSION.zip cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -65,8 +65,10 @@ cd build -DCMAKE_BUILD_TYPE=Release .. # -DLIB_SUFFIX is ignored. Patch CMakeLists as needed. - sed -i 's%/lib/%/lib64/%g' cmake_install.cmake || exit - sed -i 's%/lib"%/lib64/"%g' cmake_install.cmake || exit + sed -i \ + -e "s:\\\${CMAKE_INSTALL_PREFIX}/lib:&${LIBDIRSUFFIX}:" \ + cmake_install.cmake + make make install DESTDIR=$PKG cd .. diff --git a/libraries/SFGUI/SFGUI.info b/libraries/SFGUI/SFGUI.info index b72639e4eb..5caf3c14b3 100644 --- a/libraries/SFGUI/SFGUI.info +++ b/libraries/SFGUI/SFGUI.info @@ -1,8 +1,8 @@ PRGNAM="SFGUI" -VERSION="0.2.3" +VERSION="0.3.0" HOMEPAGE="http://sfgui.sfml-dev.de/p/" -DOWNLOAD="http://sfgui.sfml-dev.de/public_root/downloads/SFGUI-0.2.3-source.zip" -MD5SUM="93934fb0bea9723b6e3f7468ad6c6f95" +DOWNLOAD="https://github.com/TankOs/SFGUI/archive/0.3.0.zip" +MD5SUM="9e704175dca7c8632e9f72a321c21e25" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SFML" |