# $Id: PKGBUILD 68236 2012-03-20 07:50:05Z stativ $ # Maintainer: Lukas Jirkovsky # Contributor: Mateusz Herych # Contributor: Eric Belanger # Contributor: Darwin Bautista pkgname=soundkonverter pkgver=1.4.0 pkgrel=1 pkgdesc="Front-end to various audio converters" arch=('i686' 'x86_64' 'mips64el') url="http://www.kde-apps.org/content/show.php?content=29024" license=('GPL') depends=('kdemultimedia-kioslave' 'taglib') makedepends=('automoc4' 'cmake') optdepends=('cdrkit: cdda2wav backend' 'faac: faac backend' 'faad2: faad backend' 'ffmpeg: ffmpeg backend' 'flac: flac backend' 'fluidsynth: flouidsynth backend' 'lame: lame backend' 'mac: mac backend' 'mplayer: mplayer backend' 'mp3gain: mp3gain backend' 'speex: speexenc, speexdec backends' 'timidity++: midi backend' 'twolame: twolame backend' 'vorbisgain: vorbisgain backend' 'vorbis-tools: vorbis tools backend' 'wavpack: wavpack backend') install=$pkgname.install source=("http://kde-apps.org/CONTENT/content-files/29024-${pkgname}-${pkgver}.tar.gz") md5sums=('4d3d1ccab74c2dd41971c3a4a4e7fb57') build() { cd "$srcdir"/$pkgname-$pkgver cmake . \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install }