1 # Maintianer: Thomas Dziedzic < gostrc at gmail >
2 # Contributor: Cainã Costa <cainan.costa@gmail.com>
3 # Contributor: Paulo Matias <matiasΘarchlinux-br·org>
4 # Contributor: kotyz <kotyz.king@gmail.com>
9 pkgdesc='A ncurses console audio player with support for the mp3, ogg, and wave formats'
10 url="http://moc.daper.net/"
11 arch=('i686' 'x86_64')
13 depends=('libmad' 'libid3tag' 'jack' 'curl' 'libsamplerate' 'libtool')
14 makedepends=('speex' 'ffmpeg' 'taglib' 'libmpcdec' 'wavpack' 'libmodplug' 'subversion' 'sidplay2')
15 optdepends=('speex: for using the speex plugin'
16 'ffmpeg: for using the ffmpeg plugin'
17 'taglib: for using the musepack plugin'
18 'libmpcdec: for using the musepack plugin'
19 'wavpack: for using the wavpack plugin'
20 'libmodplug: for using the modplug plugin'
21 'sidplay2: for playing c64 sid files')
26 _svntrunk='svn://daper.net/moc/trunk'
30 if [ -d ${_svnmod} ]; then
31 (cd ${_svnmod} && svn up -r ${pkgver})
33 svn co ${_svntrunk} -r ${pkgver} ${_svnmod}
36 msg 'SVN checkout done or server timeout'
37 msg 'Starting make...'
41 export CPPFLAGS="${CPPFLAGS} -I/usr/lib/oss/include"
72 make DESTDIR=${pkgdir} install