# $Id: PKGBUILD 166277 2012-09-05 18:33:46Z andrea $ # Maintainer: Andrea Scarpino pkgname=kdemultimedia-kscd pkgver=4.9.1 pkgrel=1 pkgdesc="KDE CD player" url='http://kde.org/applications/multimedia/kscd/' arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kdemultimedia') depends=('kdebase-runtime' 'libkcddb' 'libkcompactdisc' 'libmusicbrainz3') makedepends=('cmake' 'automoc4') install="${pkgname}.install" source=("http://download.kde.org/stable/${pkgver}/src/kscd-${pkgver}.tar.xz") sha1sums=('9cd9feef981bcbbb6f55d606a80abd2ef5635294') build() { cd "${srcdir}" mkdir build cd build cmake ../kscd-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }