aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD28
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..3c934e6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
1# Generated by mksrcinfo v8
2# Sun Oct 30 09:09:07 UTC 2016
3pkgbase = waon
4 pkgdesc = Wave-to-Notes transcriber (WAVE-MIDI converter)
5 pkgver = 0.10
6 pkgrel = 1
7 url = http://waon.sourceforge.net/
8 arch = i686
9 arch = x86_64
10 license = GPL2
11 depends = fftw
12 depends = libsamplerate
13 depends = libao
14 depends = gtk2
15 source = http://downloads.sourceforge.net/waon/waon-0.10.tar.gz
16 md5sums = fc36842882449274ff90e3f6b55b3daa
17
18pkgname = waon
19
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..cf04d63
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
1# Maintainer: Ray Rashif <schiv@archlinux.org>
2
3pkgname=waon
4pkgver=0.10
5pkgrel=1
6pkgdesc="Wave-to-Notes transcriber (WAVE-MIDI converter)"
7arch=('i686' 'x86_64')
8url="http://waon.sourceforge.net/"
9license=('GPL2')
10depends=('fftw' 'libsamplerate' 'libao' 'gtk2')
11source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
12md5sums=('fc36842882449274ff90e3f6b55b3daa')
13
14build() {
15 cd "$srcdir/$pkgname-$pkgver"
16
17 sed -i 's:usr/local:usr:g' Makefile
18 make
19}
20
21package() {
22 cd "$srcdir/$pkgname-$pkgver"
23
24 install -Dm755 pv $pkgdir/usr/bin/waon-pv
25 install -m755 waon gwaon $pkgdir/usr/bin/
26 install -Dm644 pv.1 $pkgdir/usr/share/man/man1/waon-pv.1
27 install -m644 {waon,gwaon}.1 $pkgdir/usr/share/man/man1/
28}