# Template file for 'symmetrica'
pkgname=symmetrica
version=3.1.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
short_desc="Collection of C routines for representation theory"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="ISC"
homepage="https://gitlab.com/sagemath/symmetrica"
changelog="https://gitlab.com/sagemath/symmetrica/-/releases"
distfiles="https://gitlab.com/sagemath/symmetrica/-/archive/${version}/symmetrica-${version}.tar.bz2"
checksum=46137328f5dfae50167356ed9bcdf0aadef9dcb70553d3788106dc7c5b890ee8

pre_configure() {
	autoreconf -fi
}

post_install() {
	vlicense LICENSE
}

symmetrica-devel_package() {
	depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.so"
	}
}
