# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_PN="polytopes_db"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Sage's polytopes database"
HOMEPAGE="https://www.sagemath.org"
SRC_URI="mirror://sageupstream/${MY_PN}/${MY_P}.tar.bz2"
S="${WORKDIR}"/${MY_P}

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"

src_install() {
	insinto /usr/share/sage/reflexive_polytopes
	doins -r *
}