# $Id: PKGBUILD 205791 2014-02-10 11:00:06Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdeutils-kremotecontrol pkgver=4.12.2 pkgrel=1 pkgdesc='Configure your remote controls for use with applications' url='http://kde.org/applications/utilities/kremotecontrol/' arch=('i686' 'x86_64' 'mips64el') 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/stable/${pkgver}/src/kremotecontrol-${pkgver}.tar.xz") sha1sums=('740f4aafb7dca4fe6bc1ba1139f8e672c035431c') build() { cd "${srcdir}" mkdir build cd build cmake ../kremotecontrol-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DKDE4_BUILD_TESTS=OFF \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd $srcdir/build make DESTDIR=$pkgdir install }