app-misc/astroterm: new package

Signed-off-by: Timur Kuprava <kupravagoodman@proton.me>
This commit is contained in:
Timur Kuprava
2025-06-08 17:06:38 +03:00
parent 96a8facc34
commit 68ff16b30b
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST astroterm-1.0.7.tar.gz 20463291 BLAKE2B 378dad2e26f77c92c5cdd0e9fced74f4e1c31ee5fd379cb6d92abf0b65b756415a1c7131413646163fa8d485ddcfd713ba13ac749ccd758d5c98638a247d05d3 SHA512 5cf90902db2ce1920f463e5fa7780d2b117bb20977d879615cf31947e623678dc90723426b61a99532d0b9c8b2ad8cbba2e94457287e6b8a5fba8bc6cd151eba
DIST bsc5 291548 BLAKE2B 2cfbfed91c2bc09c4685da3d48e26ba4356298550bba7cabab088eacf49c80ef2b2ee0a9ead5ce89873ac4b3978d13c9dde345e783682c3b896a54324cf99c11 SHA512 b96630ef38fa43bedff0462181b43276dca6c12d53ff91eb073d4985ec0fd191a6c84f8261cf6d4259f28ec80566765f53009fdca5508625ab8cb825c1e48e6a

View File

@@ -0,0 +1,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
"
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
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>kupravagoodman@proton.me</email>
<name>Timur Kuprava</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/da-luce/astroterm/issues</bugs-to>
<remote-id type="github">da-luce/astroterm</remote-id>
</upstream>
</pkgmetadata>