1 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
2 # Contributor: Kevin Piche <kevin@archlinux.org>
7 pkgdesc="Dockapp mixer for OSS or ALSA"
9 url="http://www.ne.jp/asahi/linux/timecop/"
12 source=(http://www.ne.jp/asahi/linux/timecop/software/$pkgname-$pkgver.tar.gz
14 md5sums=('62f6e86f7558f193e081dc29444a6699'
15 '07b9b42c87cbe9531c6de5eb2e8596b0')
18 cd $srcdir/$pkgname-$pkgver
19 install -dm755 $pkgdir/usr/bin
21 sed -e '/^#define VERSION/ s/3\.0/3.1/' -e 's/wmix 3\.0/wmix 3.1/' -i wmix.c || return 1
23 sed -i "s/-O3/$CFLAGS/" Makefile
24 # Fix crash (FS#15422)
25 patch -Np0 -i $srcdir/wmix-fix-free.patch
27 make PREFIX=$pkgdir/usr install || return 1
28 install -D -m644 wmix.1x.gz $pkgdir/usr/share/man/man1/wmix.1x.gz || return 1