updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / wavesurfer / PKGBUILD
blob6f93992566ac29647b9eda8a7282ef373eaed6b9
1 # Maintainer: Christoph Drexler <chrdr at gmx dot at>
3 pkgname=wavesurfer
4 pkgver=1.8.8p3
5 pkgrel=2
6 pkgdesc="Open source tool for sound visualization and manipulation"
7 arch=('any')
8 url="http://sourceforge.net/projects/wavesurfer/"
9 license=('custom')
10 depends=('bash' 'tcl>=8.4' 'tk>=8.4' 'snack>=2.2')
11 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.tgz"
12 wavesurfer
13 wavesurfer.desktop)
15 md5sums=('c968c21536cc33b099f4a0824b08f5b1'
16          '4fb63c7e335f6ff385465c476f094425'
17          '8a081185545f22d37f34d9de7e0cf303')
19 build() {
20         # nothing to do
21         true
24 package() {
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