Date: Saturday, November 21, 2015 @ 13:47:17
  Author: arojas
Revision: 251782

Drop kdelibs4support dependency

Modified:
  kturtle/kde-unstable/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-11-21 09:46:33 UTC (rev 251781)
+++ PKGBUILD    2015-11-21 12:47:17 UTC (rev 251782)
@@ -1,5 +1,6 @@
 # $Id$
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Maintainer: Antonio Rojas <aro...@archlinux.org>
 # Contributor: Andrea Scarpino <and...@archlinux.org>
 
 pkgname=kturtle
@@ -7,22 +8,24 @@
 pkgrel=1
 pkgdesc="Educational Programming Environment"
 url="http://kde.org/applications/education/kturtle/";
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde-applications' 'kdeedu')
-depends=('knewstuff' 'kdelibs4support')
-makedepends=('extra-cmake-modules' 'python' 'kdoctools')
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+groups=(kde-applications kdeedu)
+depends=(knewstuff hicolor-icon-theme)
+makedepends=(extra-cmake-modules python kdoctools)
 install=${pkgname}.install
-conflicts=('kdeedu-kturtle')
-replaces=('kdeedu-kturtle')
-source=("http://download.kde.org/unstable/applications/${pkgver}/src/kturtle-${pkgver}.tar.xz";)
+conflicts=(kdeedu-kturtle)
+replaces=(kdeedu-kturtle)
+source=("http://download.kde.org/unstable/applications/$pkgver/src/kturtle-$pkgver.tar.xz";)
 sha1sums=('d65ea252fa51a244926fc5af2b451790d3772298')
 
+prepare() {
+  mkdir -p build
+}
+
 build() {
-  cd "${srcdir}"
-  mkdir -p build
   cd build
-  cmake ../kturtle-${pkgver} \
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_BUILD_TYPE=Release \
     -DBUILD_TESTING=OFF \
     -DCMAKE_INSTALL_PREFIX=/usr \
@@ -31,6 +34,6 @@
 }
 
 package() {
-  cd "${srcdir}"/build
-  make DESTDIR="${pkgdir}" install
+  cd build
+  make DESTDIR="$pkgdir" install
 }

Reply via email to