# $Id: PKGBUILD 128560 2011-06-24 12:54:03Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeedu-khangman pkgver=4.6.90 pkgrel=1 pkgdesc="Hangman Game" url="http://kde.org/applications/education/khangman/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdeedu') depends=('kdebase-runtime' 'libkdeedu') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/unstable/${pkgver}/src/khangman-${pkgver}.tar.bz2") sha1sums=('25de6658d00980e8e785c9181fb55039aaeab2f8') build() { cd "${srcdir}" mkdir build cd build cmake ../khangman-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }