# $Id: PKGBUILD 177654 2013-02-08 08:56:12Z andrea $ # Maintainer: Andrea Scarpino pkgname=libkmahjongg pkgver=4.10.0 pkgrel=1 pkgdesc="Common code, backgrounds and tile sets for games using Mahjongg tiles" url="https://projects.kde.org/projects/kde/kdegames/libmahjongg" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') depends=('libkdegames') makedepends=('cmake' 'automoc4') replaces=('kdegames-libkmahjongg') conflicts=('kdegames-libkmahjongg') source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz") sha1sums=('594edd2bb1a5f3981a6361db94da84da6b35d818') build() { mkdir build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="${pkgdir}" install }