aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: da7eb4777fedbc75b4e56885540a4a17c7538c76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer : Immae <ismael.bouya@normalesup.org>
# Contributor : Ray Rashif <schiv@archlinux.org>

pkgname=waon
pkgver=0.10
pkgrel=1
pkgdesc="Wave-to-Notes transcriber (WAVE-MIDI converter)"
arch=('i686' 'x86_64')
url="http://waon.sourceforge.net/"
license=('GPL2')
depends=('fftw' 'libsamplerate' 'libao' 'gtk2')
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('fc36842882449274ff90e3f6b55b3daa')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  sed -i 's:usr/local:usr:g' Makefile
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  install -Dm755 pv $pkgdir/usr/bin/waon-pv
  install -m755 waon gwaon $pkgdir/usr/bin/
  install -Dm644 pv.1 $pkgdir/usr/share/man/man1/waon-pv.1
  install -m644 {waon,gwaon}.1 $pkgdir/usr/share/man/man1/
}