[arch-commits] Commit in kdeedu-ktouch/trunk (PKGBUILD)

Andrea Scarpino andrea at nymeria.archlinux.org
Mon Apr 28 05:51:59 UTC 2014


    Date: Monday, April 28, 2014 @ 07:51:58
  Author: andrea
Revision: 211842

upgpkg: kdeedu-ktouch 4.13.0-2

Fix missing deps

Modified:
  kdeedu-ktouch/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-28 04:20:17 UTC (rev 211841)
+++ PKGBUILD	2014-04-28 05:51:58 UTC (rev 211842)
@@ -3,21 +3,23 @@
 
 pkgname=kdeedu-ktouch
 pkgver=4.13.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Touch Typing Tutor"
 url="http://kde.org/applications/education/ktouch/"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 groups=('kde' 'kdeedu')
-depends=('kdebase-runtime')
+depends=('kdebase-runtime' 'kqtquickcharts')
 makedepends=('cmake' 'automoc4' 'mesa')
 install=${pkgname}.install
 source=("http://download.kde.org/stable/${pkgver}/src/ktouch-${pkgver}.tar.xz")
 sha1sums=('a737598452c62f18a6471d714581a7cb16871e4f')
 
+prepare() {
+  mkdir build
+}
+
 build() {
-  cd "${srcdir}"
-  mkdir build
   cd build
   cmake ../ktouch-${pkgver} \
     -DCMAKE_BUILD_TYPE=Release \
@@ -27,6 +29,6 @@
 }
 
 package() {
-  cd "${srcdir}"/build
+  cd build
   make DESTDIR="${pkgdir}" install
 }




More information about the arch-commits mailing list