# $Id$ # Maintainer: Andrea Scarpino pkgname=kdeutils-kremotecontrol pkgver=4.7.97 pkgrel=1 pkgdesc='Configure your remote controls for use with applications' url='http://kde.org/applications/utilities/kremotecontrol/' arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') depends=('kdebase-workspace') makedepends=('cmake' 'automoc4') groups=('kde' 'kdeutils') replaces=('kdeutils-kdelirc') conflicts=('kdeutils-kdelirc') install=${pkgname}.install source=("http://download.kde.org/unstable/${pkgver}/src/kremotecontrol-${pkgver}.tar.bz2") sha1sums=('9fe39efdbfe7e4d26980669474b420b3118bce8a') build() { cd "${srcdir}" mkdir build cd build cmake ../kremotecontrol-${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 }