# $Id: PKGBUILD 214893 2014-06-10 17:54:41Z svenstaro $ # Maintainer: Andrea Scarpino pkgname=kdegames-kubrick pkgver=4.13.2 pkgrel=1 pkgdesc="Based on the famous Rubik's Cube" url="http://kde.org/applications/games/kubrick/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdegames') depends=('kdebase-runtime' 'libkdegames' 'glu') makedepends=('cmake' 'automoc4') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kubrick-${pkgver}.tar.xz") sha1sums=('d6d3dd31e29e670e666f3e70cf9598809f17e2c7') prepare() { mkdir build } build() { cd build cmake ../kubrick-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="${pkgdir}" install }