mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-04 21:32:38 +02:00
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
# Contributor: Robin Candau <robincandau@protonmail.com>
|
|
# Maintainer: Robin Candau <robincandau@protonmail.com>
|
|
pkgname=hyfetch
|
|
pkgver=1.4.11
|
|
pkgrel=1
|
|
pkgdesc="Neofetch with LGBTQ+ pride flags!"
|
|
url="https://github.com/hykilpikonna/hyfetch"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="py3-setuptools py3-typing-extensions"
|
|
makedepends="py3-gpep517 py3-wheel"
|
|
subpackages="$pkgname-pyc $pkgname-doc $pkgname-bash-completion $pkgname-zsh-completion"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/hykilpikonna/hyfetch/archive/$pkgver.tar.gz"
|
|
options="!check" # no test suite
|
|
|
|
build() {
|
|
gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --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"
|
|
install -Dm 644 "docs/$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1"
|
|
install -Dm 644 "$pkgname/scripts/autocomplete.bash" "$pkgdir/usr/share/bash-completion/completions/$pkgname"
|
|
install -Dm 644 "$pkgname/scripts/autocomplete.zsh" "$pkgdir/usr/share/zsh/site-functions/_$pkgname"
|
|
}
|
|
|
|
sha512sums="
|
|
13c757fed68c9aa1caa503553d6d29c0b68284029090b970b863dec3240dabb28a852ef0ec0f2742c6c268e30a15c48018a651e74ba0e6782b5aa14f2b1d1312 hyfetch-1.4.11.tar.gz
|
|
"
|