csfml.paketlendi

This commit is contained in:
milisbir 2017-10-15 01:28:15 +03:00
parent 7504c324f0
commit 3677d3db34
2 changed files with 4 additions and 5 deletions

View File

@ -11,12 +11,11 @@ source=(https://www.sfml-dev.org/files/CSFML-$version-sources.zip)
build() {
cd CSFML-$version
#sed -e 's|cmake/Config.cmake|cmake/Modules/FindSFML.cmake|' \
# -i CMakeLists.txt
#sed -e 's|cmake/Config.cmake|cmake/Modules/FindSFML.cmake|' -i CMakeLists.txt
install -d build
cd build
CMAKE_MODULE_PATH="/usr/share/SFML/cmake/Modules"
cmake .. \
-DCMAKE_BUILD_TYPE='Release' \
-DCMAKE_INSTALL_PREFIX='/usr' \

View File

@ -10,7 +10,7 @@ source=(https://www.sfml-dev.org/files/SFML-$version-sources.zip)
build() {
cd SFML-$version
cmake_surum=3.4
install -d build
cd build
@ -26,7 +26,7 @@ build() {
make DESTDIR=$PKG install
install -D -m 0644 $PKG/usr/share/SFML/cmake/Modules/FindSFML.cmake \
$PKG/usr/share/cmake/Modules/FindSFML.cmake
$PKG/usr/share/cmake-$cmake_surum/Modules/FindSFML.cmake
rm -r $PKG/usr/share/SFML/{license,readme}.txt
}