# $Id: PKGBUILD 174686 2013-01-05 13:19:13Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kturtle pkgver=4.9.5 pkgrel=1 pkgdesc="Educational Programming Environment" url="http://kde.org/applications/education/kturtle/" arch=('i686' 'x86_64') 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=('2e1235ebacbf1dff5dc592eb97a8e3c84143ad7d') 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 }