Username: Password: Remember me
pkgname=kwave
pkgver=0.8.6
pkgrel=2
pkgdesc="A sound editor for KDE"
arch=('i686' 'x86_64')
url="http://kwave.sourceforge.net/"
license=('GPL')
depends=('audiofile' 'flac' 'fftw' 'kdelibs' 'libvorbis' 'id3lib' 'libsamplerate')
makedepends=('cmake' 'kdesdk-poxml' 'gettext' 'imagemagick' 'automoc4')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}-1.tar.bz2)
md5sums=('a1c032289754811c8140df4787fd2f48')
 
build() {
  cd "${srcdir}"
  mkdir build
  cd build
 
  cmake "../${pkgname}-${pkgver}" -DCMAKE_INSTALL_PREFIX=/usr \
  -DLIB_INSTALL_DIR=/usr/lib \
  -DCMAKE_BUILD_TYPE=Release \
  -DWITH_PULSEAUDIO=OFF \
  -DWITH_PHONON=OFF \
  -DWITH_MP3=ON 
  make
}
 
package() {
  cd "${srcdir}/build"
  make DESTDIR="${pkgdir}" install
}
 
# vim:set ts=2 sw=2 et: