diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-14 14:19:41 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-02-14 14:19:41 +0100 |
commit | 9ee19ca18f89e649f8c6500079b86bd3b6912014 (patch) | |
tree | e5166235671f34ce3e5d748be31637fb99d29092 /waon/PKGBUILD | |
parent | 59c4f956ea118a36527820bd067c77c829f423f6 (diff) | |
parent | 91b13bfc7b03893f83b4e28042d070c01af9ac3d (diff) | |
download | AUR-9ee19ca18f89e649f8c6500079b86bd3b6912014.tar.gz AUR-9ee19ca18f89e649f8c6500079b86bd3b6912014.tar.zst AUR-9ee19ca18f89e649f8c6500079b86bd3b6912014.zip |
Add 'waon/' from commit '91b13bfc7b03893f83b4e28042d070c01af9ac3d'
git-subtree-dir: waon
git-subtree-mainline: 59c4f956ea118a36527820bd067c77c829f423f6
git-subtree-split: 91b13bfc7b03893f83b4e28042d070c01af9ac3d
Diffstat (limited to 'waon/PKGBUILD')
-rw-r--r-- | waon/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
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 | } | ||