# Contributor: Horst Burkhardt <horst@adelielinux.org>
# Maintainer: Horst Burkhardt <horst@adelielinux.org>
pkgname=schismtracker
pkgver=20180810
pkgrel=0
pkgdesc="A highly portable Impulse Tracker clone"
url="http://schismtracker.org/"
arch="all"
options="!check"  # No test suite.
license="GPL-2.0-only"
depends=""
makedepends="libbsd-dev libtool libx11-dev libxau-dev libxdmcp-dev libxext-dev
	python3 sdl-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/schismtracker/schismtracker/archive/$pkgver.tar.gz"

build() {
	cd "$builddir"
	autoreconf -i
	./configure \
	--enable-fortify-source \
	--prefix=/usr
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="d131cec7e4749941f0e5806bff14e0782a01f14f8a68605270d09ff40af1d20fffd4c7caf2926c5a63d3e0c0bb1ed24ce4a5e4cccc280ac045a22cfb8544c498  schismtracker-20180810.tar.gz"