* update hyfetch to 1.99.0-1

This commit is contained in:
Alexander Baldeck 2024-10-27 21:03:58 +01:00
parent 4b840e3ab7
commit 80623e7ba0
3 changed files with 16 additions and 16 deletions

View File

@ -1,13 +1,15 @@
pkgbase = hyfetch
pkgdesc = Neofetch with LGBTQ+ pride flags!
pkgver = 1.4.11
pkgrel = 3.1
pkgver = 1.99.0
pkgrel = 1
url = https://github.com/hykilpikonna/hyfetch
arch = any
license = MIT
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
depends = python-setuptools
depends = python-typing_extensions
source = hyfetch-1.4.11.tar.gz::https://github.com/hykilpikonna/hyfetch/archive/1.4.11.tar.gz
sha256sums = 79cd6706a681fa7c05754b35d9338abf96bebce222c27376a4155e94d6a5350d
source = hyfetch-1.99.0.tar.gz::https://github.com/hykilpikonna/hyfetch/archive/1.99.0.tar.gz
sha256sums = c712a11a354b34a86c86e7b080ee5e63faa6db5b8a88a3ebea35ef67c33588fd
pkgname = hyfetch

View File

@ -1,6 +1,3 @@
[hyfetch]
source = "github"
github = "hykilpikonna/hyfetch"
prefix = "v"
use_max_tag = true
exclude_regex = ".*(pre|a|alpha|b|beta|r|rc).*"
source = "git"
git = "https://github.com/hykilpikonna/hyfetch.git"

View File

@ -3,24 +3,25 @@
# Contributor: Aleksana QWQ <me@aleksana.moe>
pkgname=hyfetch
pkgver=1.4.11
pkgrel=3.1
pkgver=1.99.0
pkgrel=1
pkgdesc="Neofetch with LGBTQ+ pride flags!"
arch=(any)
url='https://github.com/hykilpikonna/hyfetch'
license=('MIT')
depends=('python-setuptools' 'python-typing_extensions')
depends=('python-setuptools')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('79cd6706a681fa7c05754b35d9338abf96bebce222c27376a4155e94d6a5350d')
sha256sums=('c712a11a354b34a86c86e7b080ee5e63faa6db5b8a88a3ebea35ef67c33588fd')
build() {
cd "${pkgname}-${pkgver}"
python setup.py build
python -m build --wheel --no-isolation
}
package() {
cd "${pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -Dm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"