# $Id: PKGBUILD 172866 2012-12-06 08:22:25Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdemultimedia-audiocd-kio pkgver=4.9.4 pkgrel=1 pkgdesc="Kioslave for accessing audio CDs" url='https://projects.kde.org/projects/kde/kdemultimedia/audiocd-kio' arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') depends=('libkcddb' 'libkcompactdisc' 'lame') makedepends=('cmake' 'automoc4') groups=('kde' 'kdemultimedia') replaces=('kdemultimedia-kioslave') conflicts=('kdemultimedia-kioslave') source=("http://download.kde.org/stable/${pkgver}/src/audiocd-kio-${pkgver}.tar.xz") sha1sums=('f3ad5a8d8f4663ea0ea9d67834498350e932f57e') build() { cd "${srcdir}" mkdir build cd build cmake ../audiocd-kio-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }