git » plasma-workspace.git » commit 5b5a7b0

Do not install stuff in libexec

author Andrea Scarpino
2015-01-27 10:33:36 UTC
committer Andrea Scarpino
2015-01-27 10:33:36 UTC
parent 233c88efde41577082b21c3fb61350b7b6d65250

Do not install stuff in libexec

PKGBUILD +4 -3

diff --git a/PKGBUILD b/PKGBUILD
index 304bc86..87c0102 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,6 +25,10 @@ md5sums=('4ffdb4c7e310dff222abd452fd67e74d'
 
 prepare() {
   mkdir build
+
+  cd ${pkgname}-${pkgver}
+  # be sure to use the Qt5 version of qtpaths
+  sed -i 's:qtpaths:qtpaths-qt5:' startkde/startkde.cmake
 }
 
 build() {
@@ -43,9 +47,6 @@ package() {
   cd build
   make DESTDIR="${pkgdir}" install
 
-  # be sure to use the Qt5 version of qtpaths
-  sed 's:qtpaths:qtpaths-qt5:' -i "$pkgdir"/usr/bin/startkde
-
   install -D "${srcdir}"/kde.pam \
     "${pkgdir}"/etc/pam.d/kde
 }