# Template file for 'moc'
pkgname=moc
version=2.5.2
revision=6
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="db-devel ncurses-devel libcurl-devel popt-devel ffmpeg-devel
 alsa-lib-devel libltdl-devel libflac-devel libvorbis-devel libmad-devel
 libmpcdec-devel libmodplug-devel libid3tag-devel faad2-devel taglib-devel
 libsndfile-devel wavpack-devel speex-devel libsamplerate-devel sndio-devel"
short_desc="Console-based audio player"
maintainer="necrophcodr <necrophcodr@necrophcodr.me>"
license="GPL-2.0-or-later"
homepage="http://moc.daper.net"
distfiles="http://ftp.daper.net/pub/soft/${pkgname}/stable/${pkgname}-${version}.tar.bz2"
checksum=f3a68115602a4788b7cfa9bbe9397a9d5e24c68cb61a57695d1c2c3ecf49db08

pre_configure() {
	sed -i -e "s|^ac_cpp='\$CPP |&-P |g" configure
}
