From: Ismaƫl Bouya Date: Sun, 30 Oct 2016 09:09:07 +0000 (+0100) Subject: Initial commit to AUR X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=200c7e81ace9539aeffb2d74c5d699fbec34af57;p=perso%2FImmae%2FConfig%2FAUR.git Initial commit to AUR --- 200c7e81ace9539aeffb2d74c5d699fbec34af57 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/ +}