# Template file for 'schismtracker'
pkgname=schismtracker
version=20170420
revision=1
build_style=gnu-configure
configure_args="LIBS=-lm"
hostmakedepends="automake SDL-devel"
makedepends="SDL-devel libXv-devel"
short_desc="Sample-based music composition tool"
maintainer="allan <mail@may.mooo.com>"
license="GPL-2"
homepage="http://schismtracker.org"
distfiles="https://github.com/schismtracker/schismtracker/archive/${version}.tar.gz"
checksum=bfc46da6a1328b67ae165bcdebacc8aa7d03b9f76346fdebc1caab2462de064c

pre_configure() {
	autoreconf -fi
}
do_install() {
	vbin schismtracker
	vinstall sys/fd.org/schism.desktop 644 usr/share/applications/
	vinstall sys/fd.org/itf.desktop 644 usr/share/applications/
	vinstall icons/schism-icon-128.png 644 usr/share/icons/
	vinstall icons/schism-itf-icon-128.png 644 usr/share/icons/
}
