# $Id: PKGBUILD 166085 2012-09-04 16:10:15Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-kturtle pkgver=4.9.1 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=('c3ee656a8ca0fb4b75e810453e88f5fe30466de3') 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 }