# Template file for 'milkytracker'
pkgname=milkytracker
version=0.90.86
revision=1
build_style=gnu-configure
configure_args="--with-alsa --with-jack"
makedepends="SDL-devel zlib-devel jack-devel alsa-lib-devel"
short_desc="Fast Tracker II inspired music tracker"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="GPL-3"
homepage="http://milkytracker.org/"
distfiles="http://milkytracker.org/files/${pkgname}-${version}.tar.gz"
checksum=ff0b851956ebf526af49b47a467df72a6eca24166b581aeab7b05c2f379c1257

do_build() {
	make CXXFLAGS="$CXXFLAGS -ljack -lasound"
}

post_install() {
	vinstall resources/milkytracker.desktop 644 usr/share/applications
	vinstall resources/pictures/carton.png 644 usr/share/pixmaps/ milkytracker.png
	vdoc docs/MilkyTracker.html
	vdoc docs/FAQ.html
	vdoc docs/ChangeLog.html
	vdoc docs/readme_unix README
	vdoc docs/TiTAN.nfo
}
