git » sfml.git » commit 2b3aa10

Fix cmake module location

author Sven-Hendrik Haase
2015-03-22 05:45:26 UTC
committer Sven-Hendrik Haase
2015-03-22 05:45:26 UTC
parent 8cda38190d2ad5ca5a030fafc07fd84894acd615

Fix cmake module location

PKGBUILD +2 -2

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