git » sfml.git » commit 19824ad

Install cmake file to unversioned path to prevent having to rebuild it for new cmake releases

author Antonio Rojas
2018-05-01 09:14:11 UTC
committer Antonio Rojas
2018-05-01 09:14:11 UTC
parent 472b91c004b13a9fe2dd61ccb667670e95c9fdb0

Install cmake file to unversioned path to prevent having to rebuild it for new cmake releases

PKGBUILD +2 -2

diff --git a/PKGBUILD b/PKGBUILD
index c0c21e7..5a8dd0d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=sfml
 pkgver=2.4.2
-pkgrel=4
+pkgrel=5
 pkgdesc='A simple, fast, cross-platform, and object-oriented multimedia API'
 arch=('x86_64')
 url='http://www.sfml-dev.org/'
@@ -31,7 +31,7 @@ package() {
 
   make DESTDIR="$pkgdir/" install
 
-  install -Dm644 "$pkgdir/usr/share/SFML/cmake/Modules/FindSFML.cmake" "$pkgdir/usr/share/cmake-3.10/Modules/FindSFML.cmake"
+  install -Dm644 "$pkgdir/usr/share/SFML/cmake/Modules/FindSFML.cmake" "$pkgdir/usr/lib/cmake/SFML/FindSFML.cmake"
 
   install -Dm644 ../license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }