Date: Sunday, April 2, 2023 @ 09:48:15
Author: antiz
Revision: 1433559
archrelease: copy trunk to community-testing-any
Added:
hyfetch/repos/community-testing-any/
hyfetch/repos/community-testing-any/PKGBUILD
(from rev 1433558, hyfetch/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: hyfetch/repos/community-testing-any/PKGBUILD (from rev 1433558,
hyfetch/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2023-04-02 09:48:15 UTC (rev 1433559)
@@ -0,0 +1,26 @@
+# Maintainer: Robin Candau <[email protected]>
+# Contributor: Aleksana QWQ <[email protected]>
+
+pkgname=hyfetch
+pkgver=1.4.8
+pkgrel=1
+pkgdesc="Neofetch with LGBTQ+ pride flags!"
+arch=('any')
+url='https://github.com/hykilpikonna/hyfetch'
+license=('MIT')
+depends=('python>=3.7.0' 'python-setuptools' 'python-typing_extensions'
'python-importlib-metadata')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('d2753230cd2ce1591a14757cbd816cf4823911042534f8bbccd4ae80a1e81f91')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+
+ install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+ install -Dm 644 LICENSE.md
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}