# $Id: PKGBUILD 137443 2011-09-07 17:31:41Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kturtle pkgver=4.7.1 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.bz2") sha1sums=('c2a33ff1ac68715e81108a8009ff67b5cb53ae2e') 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 }