# Template file for 'schismtracker'
pkgname=schismtracker
version=20180810
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.0-or-later"
homepage="http://schismtracker.org"
distfiles="https://github.com/schismtracker/schismtracker/archive/${version}.tar.gz"
checksum=1f159958a1d1a290b5af61bb1b283b429fe05171987736c2ebca00f4a60c1fe9

pre_configure() {
	autoreconf -fi
}

do_install() {
	vbin schismtracker
	vinstall sys/fd.org/schism.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/
}
