gravitype

LOW
maintainer Dominiquini 1 votes scanned 2026-09-20 05:32:24.928598
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3pkgauthor="kanakOS01"
4pkgname="gravitype"
5pkgver=1.0.1
6pkgrel=1
7pkgdesc="A terminal typing game where the words fall from the sky"
8
9_pypi_package=${pkgname}
10_pypi_version=${pkgver}
11
12license=('MIT')
13arch=('any')
14
15_url_pypi="https://pypi.org/project/${pkgname}/"
16_url_github="https://github.com/${pkgauthor}/${pkgname}"
17url="${_url_github}"
18
19provides=("${_pypi_package}")
20conflicts=("python-${pkgname}")
21
22makedepends=('python-setuptools' 'python-wheel' 'python-build' 'python-installer' 'python-hatchling')
23depends=('bash' 'python' 'python-textual' 'python-rich')
24
25# source=("https://files.pythonhosted.org/packages/source/${_pypi_package::1}/${_pypi_package//-/_}/${_pypi_package//-/_}-${_pypi_version}.tar.gz")
26source=("${_pypi_package}-${_pypi_version}.tar.gz::${_url_github}/archive/refs/tags/v${pkgver}.tar.gz")
27sha256sums=('656c87152ea64ed2db775693eb94f138b2b614143c9465cba299a94bc98dd0f7')
28
29
30prepare() {
31 cd "${srcdir}/${_pypi_package}-${_pypi_version}/" || exit
32
33 sed -e 's|\(requires = \["hatchling\)[^"]*\("\]\)|\1\2|g' -i "./pyproject.toml"
34}
35
36build() {
37 cd "${srcdir}/${_pypi_package}-${_pypi_version}/" || exit
38
39 python -m build --wheel --no-isolation
40}
41
42package() {
43 cd "${srcdir}/${_pypi_package}-${_pypi_version}/" || exit
44
45 python -m installer --destdir="${pkgdir}" dist/*.whl
46
47 install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
48
49 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
50}
51

Scan history

Scanned at (UTC)SeverityRules
2026-09-20 05:32:24 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion