# Maintainer: Menci # Contributor: Aleksana QWQ _repo="hykilpikonna/hyfetch" pkgname=hyfetch pkgver=1.0.7 pkgrel=3 pkgdesc="Neofetch with LGBTQ pride flags." arch=('any') url='https://github.com/hykilpikonna/hyfetch' license=('MIT') depends=('python3' 'python3-setuptools' 'python3-typing-extensions') makedepends=('git') prepare() { git clone "$url" "${srcdir}/${pkgname}" --recursive cd "${srcdir}/${pkgname}" git checkout "$(git describe --tags --abbrev=0)" } pkgver() { cd "${srcdir}/${pkgname}" git describe --tags --abbrev=0 } build() { cd ${pkgname} git checkout "$pkgver" python3 setup.py build } package() { cd ${pkgname} python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build --install-layout=deb mv LICENSE.md copyright install -Dm644 copyright -t "${pkgdir}/usr/share/doc/${pkgname}" }