From 200c7e81ace9539aeffb2d74c5d699fbec34af57 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 30 Oct 2016 10:09:07 +0100 Subject: [PATCH] Initial commit to AUR --- .SRCINFO | 19 +++++++++++++++++++ PKGBUILD | 28 ++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 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 index 0000000..cf04d63 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Ray Rashif + +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/ +} -- 2.41.0