# Include global configuration source ../kdeapps.conf pkgname=ktuberling pkgver=${_kdever} pkgrel=1 pkgdesc="A simple constructor game suitable for children and adults alike" arch=('x86_64') url='http://kde.org/applications/games/ktuberling/' screenshot='https://www.kde.org/images/screenshots/ktuberling.png' license=('GPL' 'LGPL' 'FDL') depends=('kdebase-runtime' 'libkdegames') makedepends=('cmake' 'automoc4') groups=('kde' 'kde-uninstall' 'kde-applications' 'kdegames') replaces=('kdegames-ktuberling') conflicts=('kdegames-ktuberling') options=('docs' 'debug') source=("$_mirror/${pkgname}-$_kdever.tar.xz") sha256sums=(`grep ${pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`) prepare() { mkdir -p build } build() { cd build cmake_kf5 ../${pkgname}-${pkgver} make } package() { cd build make DESTDIR=${pkgdir} install }