# $Id: PKGBUILD 172881 2012-12-06 08:23:19Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeutils-kcharselect pkgver=4.9.4 pkgrel=1 pkgdesc='Character Selector' url="http://kde.org/applications/utilities/kcharselect/" arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') groups=('kde' 'kdeutils') source=("http://download.kde.org/stable/${pkgver}/src/kcharselect-${pkgver}.tar.xz") sha1sums=('6f2c822e8255a87ad1636265c47ac78b366ce0db') build() { cd "${srcdir}" mkdir build cd build cmake ../kcharselect-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd $srcdir/build make DESTDIR=$pkgdir install cd $srcdir/build/doc make DESTDIR=$pkgdir install }