# $Id: PKGBUILD 193247 2013-08-19 09:54:40Z andrea $ # Maintainer: Andrea Scarpino pkgname=libkmahjongg pkgver=4.11.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=('ec7b32b5c0f767f06a36202f2276dc0fe08ebd53') 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 }