diff --git a/extra/kdelibs/PKGBUILD b/extra/kdelibs/PKGBUILD index 9d743ed93..6ce592b71 100644 --- a/extra/kdelibs/PKGBUILD +++ b/extra/kdelibs/PKGBUILD @@ -9,7 +9,7 @@ pkgname=kdelibs pkgver=4.14.38 _kdeappver=17.08.3 -pkgrel=3 +pkgrel=4 pkgdesc="KDE Core Libraries" arch=('x86_64') url='https://www.kde.org/' @@ -46,10 +46,6 @@ prepare() { patch -p1 -i ../kdelibs-openssl-1.1.patch # fix unclickable plasmoid buttons on ARM patch -p1 -i ../arm-coronaoffscreen-input-fixes.diff - - sed -e 's/enchant)/enchant-2)/' \ - -e 's/NAMES enchant$/NAMES enchant-2/' \ - -i cmake/modules/FindENCHANT.cmake } build() { @@ -64,7 +60,9 @@ build() { -DLOCALE_INSTALL_DIR=/usr/share/locale/kde4 \ -DKDE_DEFAULT_HOME='.kde4' \ -DWITH_FAM=OFF \ - -DWITH_SOLID_UDISKS2=ON + -DWITH_SOLID_UDISKS2=ON \ + -DENCHANT_INCLUDE_DIR=/usr/include/enchant-2 \ + -DENCHANT_LIBRARIES=/usr/lib/libenchant-2.so make }