1 # Mantainer: William Díaz <wdiaz [at] archlinux [dot] us>
6 pkgdesc="The Snack Sound Toolkit (Tcl)"
7 url="http://www.speech.kth.se/snack/"
10 depends=('tk' 'alsa-lib' 'libxft' 'libxss')
11 source=(http://www.speech.kth.se/snack/dist/${pkgname}${pkgver}.tar.gz configure.patch alsa.patch)
12 md5sums=('98da0dc73599b3a039cba1b7ff169399'
13 'd0e95891bbaa44f555314ca91c9688f6'
14 '3cf709c217aa0c33e12e785db71c5583')
17 cd ${srcdir}/${pkgname}${pkgver}/unix
19 # bug from glib - error from /usr/include/bits/mathcalls.h:310
20 sed -i -e 's|^\(#define roundf(.*\)|//\1|' ../generic/jkFormatMP3.c
22 patch < ../../configure.patch || return 1
23 patch < ../../alsa.patch || return 1
25 ./configure --prefix=/usr \
30 make DESTDIR=${pkgdir} install