diff options
Diffstat (limited to 'waon')
-rw-r--r-- | waon/.SRCINFO | 19 | ||||
-rw-r--r-- | waon/PKGBUILD | 29 |
2 files changed, 48 insertions, 0 deletions
diff --git a/waon/.SRCINFO b/waon/.SRCINFO new file mode 100644 index 0000000..924f00a --- /dev/null +++ b/waon/.SRCINFO | |||
@@ -0,0 +1,19 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 10:44:17 UTC 2019 | ||
3 | pkgbase = 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 | sha512sums = 1e3c0ee9cb864c6fbfe831ed5b825fd5f20a8969ef3a6906deb88ceeee9bf8e65396f8b333bc84cf201d596467c415dfcbcd3e977a005952bae2d5983a84fa46 | ||
17 | |||
18 | pkgname = waon | ||
19 | |||
diff --git a/waon/PKGBUILD b/waon/PKGBUILD new file mode 100644 index 0000000..b1b6947 --- /dev/null +++ b/waon/PKGBUILD | |||
@@ -0,0 +1,29 @@ | |||
1 | # Maintainer : Immae <ismael.bouya@normalesup.org> | ||
2 | # Contributor : Ray Rashif <schiv@archlinux.org> | ||
3 | |||
4 | pkgname=waon | ||
5 | pkgver=0.10 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="Wave-to-Notes transcriber (WAVE-MIDI converter)" | ||
8 | arch=('i686' 'x86_64') | ||
9 | url="http://waon.sourceforge.net/" | ||
10 | license=('GPL2') | ||
11 | depends=('fftw' 'libsamplerate' 'libao' 'gtk2') | ||
12 | source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") | ||
13 | sha512sums=('1e3c0ee9cb864c6fbfe831ed5b825fd5f20a8969ef3a6906deb88ceeee9bf8e65396f8b333bc84cf201d596467c415dfcbcd3e977a005952bae2d5983a84fa46') | ||
14 | |||
15 | build() { | ||
16 | cd "$srcdir/$pkgname-$pkgver" | ||
17 | |||
18 | sed -i 's:usr/local:usr:g' Makefile | ||
19 | make | ||
20 | } | ||
21 | |||
22 | package() { | ||
23 | cd "$srcdir/$pkgname-$pkgver" | ||
24 | |||
25 | install -Dm755 pv $pkgdir/usr/bin/waon-pv | ||
26 | install -m755 waon gwaon $pkgdir/usr/bin/ | ||
27 | install -Dm644 pv.1 $pkgdir/usr/share/man/man1/waon-pv.1 | ||
28 | install -m644 {waon,gwaon}.1 $pkgdir/usr/share/man/man1/ | ||
29 | } | ||