desktop/picmi/PKGBUILD

34 lines
729 B
Bash

# Include global configuration
source ../kdeapps.conf
pkgname=picmi
pkgver=${_kdever}
pkgrel=1
pkgdesc="A nonogram logic game for KDE"
arch=('x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
depends=('libkdegames' 'hicolor-icon-theme')
makedepends=('extra-cmake-modules' 'kdoctools')
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdegames')
conflicts=('kdegames-picmi')
replaces=('kdegames-picmi')
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
}