diff options
author | Ricardo Gonçalves | 2017-06-13 14:42:46 +0100 |
---|---|---|
committer | Ricardo Gonçalves | 2017-06-13 14:42:46 +0100 |
commit | 5ea26b36dd9d215093bd2bb5f52cdaafd67ff3c7 (patch) | |
tree | bee68251e6fad12a9545ed9e777fcd682689026a /PKGBUILD | |
parent | 0a852d609f8309c0f778b4a8af379dde9fb19161 (diff) | |
download | aur-5ea26b36dd9d215093bd2bb5f52cdaafd67ff3c7.tar.gz |
Fix broken PythonQt library installation
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -15,7 +15,16 @@ md5sums=('3fffbdf110c847942f7ce05fe373e57f') build() { cd "${pkgname}-${pkgver}"/ - qmake + # Fix missing libPythonQt.so + if [ ! -e "/usr/lib/libPythonQt.so" ]; then + libpython=$(find /usr/lib/ -type f -iname libpythonqt* ! -iname libPythonQt_QtAll*) + ln -svf "${libpython}" libPythonQt.so + + qmake QMAKE_LIBDIR_FLAGS="-L $PWD" + else + qmake + fi + make -j4 } |