# $Id: PKGBUILD 150326 2012-02-16 21:21:15Z eric $ # Maintainer : Tobias Powalowski pkgname=kradio pkgver=4.0.3 pkgrel=1 arch=('i686' 'x86_64') license=('GPL2') pkgdesc="A comfortable KDE radio application" url="http://kradio.sourceforge.net/" depends=('kdebase-runtime' 'lirc-utils' 'libmms' 'ffmpeg') makedepends=('pkg-config' 'automoc4' 'cmake') options=(!libtool) install=kradio.install source=(http://downloads.sourceforge.net/sourceforge/kradio/kradio4-$pkgver.tar.bz2{,.asc}) md5sums=('f495ce341150ab04515d217bd8c36a32' '42259fac62e427b8c86b7a5e5d4b18bf') build() { cd "$srcdir" mkdir build cd build cmake ../${pkgname}4-$pkgver -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release make } package() { cd "$srcdir/build" make DESTDIR="$pkgdir" install }