1 # Maintainer: Christoph Drexler <chrdr at gmx dot at>
6 pkgdesc="Open source tool for sound visualization and manipulation"
8 url="http://sourceforge.net/projects/wavesurfer/"
10 depends=('bash' 'tcl>=8.4' 'tk>=8.4' 'snack>=2.2')
11 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tgz"
15 md5sums=('c968c21536cc33b099f4a0824b08f5b1'
16 '4fb63c7e335f6ff385465c476f094425'
17 '8a081185545f22d37f34d9de7e0cf303')
25 mkdir -p $pkgdir/usr/bin/
26 mkdir -p $pkgdir/usr/{lib,share/{doc,licenses}}/wavesurfer/
27 cp -r $srcdir/$pkgname-$pkgver/{demos,icons,msgs,src,tools} $pkgdir/usr/lib/wavesurfer/
28 chmod a+x $pkgdir/usr/lib/wavesurfer/src/app-wavesurfer/wavesurfer.tcl
29 cp $srcdir/$pkgname-$pkgver/doc/* $pkgdir/usr/share/doc/wavesurfer/
30 install -Dm755 $srcdir/wavesurfer $pkgdir/usr/bin/wavesurfer
31 install -Dm644 $srcdir/wavesurfer.desktop $pkgdir/usr/share/applications/wavesurfer.desktop
32 install $srcdir/$pkgname-$pkgver/LICENSE.txt $pkgdir/usr/share/licenses/wavesurfer/LICENSE.txt