diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 11 insertions, 21 deletions
@@ -1,40 +1,30 @@ -# Maintainer: MoltenCoreDev <craxell.tv@gmail.com> +# Maintainer: Molten <craxell.tv@gmail.com> _pkgname="pyfetch" pkgname="${_pkgname}-git" -pkgver=1.0.0 +pkgver=r5.9c18074 pkgrel=1 pkgdesc="A simple and fast alternative to neofetch." arch=('x86_64') url="https://kreatea.ml/kreato/pyfetch" -license=('GPL v3') +license=('GPL3') groups=() depends=('wmctrl' 'otf-font-awesome' 'python' 'python-pip') makedepends=() provides=("${_pkgname}") -conflicts=("${_pkgname}") +conflicts=() backup=("usr/share/${_pkgname}/data") -source=("${_pkgname}-source::git+${url}#commit=420615217bdc11849adce66a5931e6233e5f2fd1") +source=("https://kreatea.ml/kreato/pyfetch/raw/branch/master/pyfetch") md5sums=('SKIP') -# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for -# a description of each element in the source array. - -pkgver() { - cd "${_pkgname}-source" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - prepare() { - chmod +x pyfetch - # install deps - pip install distro psutil colorama + chmod +x pyfetch + # install deps + pip install distro psutil colorama } - package() { - cd "${_pkgname}-source" - - # install script - install -Dm 755 "pyfetch" "${pkgdir}/usr/bin/${_pkgname}" + # install built binary + install -Dm 755 "pyfetch" "${pkgdir}/usr/bin/${_pkgname}" } + |