summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Hovorka2017-04-19 14:46:38 +0200
committerMarkus Hovorka2017-04-19 14:46:38 +0200
commit878fbbe9dc289e79d6134c54e74b820a4b8dfad1 (patch)
treeec3e2604dda283ff53fbccf8f5214e31ce099dbc
parent699fc818cfd0ed816ea6c4b984dffc58c05b9a3e (diff)
downloadaur-878fbbe9dc289e79d6134c54e74b820a4b8dfad1.tar.gz
Adapt cmake file names for python2
-rw-r--r--PKGBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 51102f1598c..672db7c2e30 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -76,14 +76,13 @@ package_python2-shiboken2-git() {
cd "$srcdir/$pkgbase/build-py2"
make DESTDIR="$pkgdir" install
- cd "$srcdir/$pkgbase/build-py2"
- cd data
- install -Dm 644 Shiboken2Config-python2.7.cmake "$pkgdir/usr/lib/cmake/Shiboken2-$_upver/"
+ install -Dm 644 data/Shiboken2Config.cmake "$pkgdir/usr/lib/cmake/Shiboken2-$_upver/"
+
mv "$pkgdir"/usr/lib/pkgconfig/shiboken2{,-py2}.pc
+ mv "$pkgdir/usr/lib/cmake/Shiboken2-${_upver}"/Shiboken2Config{,-python2.7}.cmake
rm -rf "$pkgdir"/usr/{include,bin,share}
rm "$pkgdir/usr/lib/cmake/Shiboken2-$_upver/Shiboken2ConfigVersion.cmake"
- rm "$pkgdir/usr/lib/cmake/Shiboken2-$_upver/Shiboken2Config.cmake"
}
package_python-shiboken2-git() {