# Maintainer: Francesco Marinucci: pkgname=kradio _pkgname=kradio4 pkgver=4.0.8 pkgrel=4 arch=('x86_64') license=('GPL2') pkgdesc="KRadio is a comfortable KDE radio application." url="http://kradio.sourceforge.net/" depends=('lame' 'kdelibs' 'libsndfile' 'lirc-utils' 'libmms' 'ffmpeg') makedepends=('pkgconfig' 'automoc4' 'cmake') categories=('multimedia') screenshot=('http://kradio.sourceforge.net/screenshots/4.0.0/docking.png') source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$_pkgname-$pkgver.tar.bz2") md5sums=('35915b48c15a11b7a5085cee66bcaedf') build() { cd $_pkgname-$pkgver mkdir -p build cd build cmake .. \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { cd $_pkgname-$pkgver/build make DESTDIR=$pkgdir install }