]> git.immae.eu Git - perso/Immae/Config/AUR.git/commitdiff
Initial commit to AUR
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 30 Oct 2016 09:09:07 +0000 (10:09 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 30 Oct 2016 10:09:01 +0000 (11:09 +0100)
.SRCINFO [new file with mode: 0644]
PKGBUILD [new file with mode: 0644]

diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644 (file)
index 0000000..3c934e6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Sun Oct 30 09:09:07 UTC 2016
+pkgbase = waon
+       pkgdesc = Wave-to-Notes transcriber (WAVE-MIDI converter)
+       pkgver = 0.10
+       pkgrel = 1
+       url = http://waon.sourceforge.net/
+       arch = i686
+       arch = x86_64
+       license = GPL2
+       depends = fftw
+       depends = libsamplerate
+       depends = libao
+       depends = gtk2
+       source = http://downloads.sourceforge.net/waon/waon-0.10.tar.gz
+       md5sums = fc36842882449274ff90e3f6b55b3daa
+
+pkgname = waon
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644 (file)
index 0000000..cf04d63
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: 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/
+}