# $Id: PKGBUILD 167816 2012-10-03 14:43:37Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kturtle pkgver=4.9.2 pkgrel=1 pkgdesc="Educational Programming Environment" url="http://kde.org/applications/education/kturtle/" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeedu') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kturtle-${pkgver}.tar.xz") sha1sums=('c30e80f71dc622b818d6539054f91584b0dce444') build() { cd "${srcdir}" mkdir build cd build cmake ../kturtle-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }