summaryrefslogtreecommitdiff
path: root/app-misc/astroterm/astroterm-1.0.9.ebuild
blob: 5c4276ed15ca4fbcc289dff3d03b07ec8945a42d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

DESCRIPTION="A planetarium for your terminal!"
HOMEPAGE="https://github.com/da-luce/astroterm"
SRC_URI="
	https://github.com/da-luce/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
	https://web.archive.org/web/20231007085824if_/http://tdc-www.harvard.edu/catalogs/BSC5 -> bsc5
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	dev-libs/argtable
"

BDEPEND="
	|| ( dev-util/xxd app-editors/vim-core dev-util/tinyxxd[xxd] )
"

src_prepare() {
	default
	cp "${DISTDIR}/bsc5" "${S}/data" || die
	cp -r "${S}/scripts" "${WORKDIR}/scripts" || die
}

src_compile() {
	meson_src_compile
}

src_install() {
	meson_src_install
}