# $Id: PKGBUILD 54953 2011-08-28 23:34:04Z andrea $ # Maintainer: Eric Belanger # Maintainer: Mateusz Herych # Contributor: Darwin Bautista pkgname=soundkonverter pkgver=1.0.0 pkgrel=1 pkgdesc="Front-end to various audio converters" arch=('i686' 'x86_64') 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' 'lame: lame backend' 'mplayer: mplayer backend' 'vorbis-tools: oggenc, oggdec backends' 'speex: speexenc, speexdec backends' 'vorbisgain: vorbisgain backend' ) options=('libtool') install=$pkgname.install source=("https://api.opensuse.org/public/source/home:HessiJames/${pkgname}/"${pkgname}-"${pkgver}.tar.gz") md5sums=('fc8bab43a27c53e651907489f5ce5032') build() { cd "${srcdir}" mkdir build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }