yochananmarqos

pyfetch-git

Apr 2nd, 2021 (edited)
155
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=pyfetch-git
  2. pkgver=r81.4206152
  3. pkgrel=1
  4. pkgdesc="Stylish and simple fetch for your terminal."
  5. arch=('x86_64')
  6. url="https://kreatea.ml/kreato/pyfetch"
  7. license=('GPL')
  8. depends=('python-distro' 'python-psutil' 'python-colorama' 'otf-font-awesome' 'wmctrl')
  9. makedepends=('git')
  10. provides=("${pkgname%-git}")
  11. conflicts=("${pkgname%-git}")
  12. source=('git+https://kreatea.ml/kreato/pyfetch.git')
  13. sha256sums=('SKIP')
  14.  
  15. pkgver() {
  16.     cd "$srcdir/${pkgname%-git}"
  17.     printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  18. }
  19.  
  20. package() {
  21.     cd "$srcdir/${pkgname%-git}"
  22.     make PREFIX="$pkgdir/usr" install
  23. }
RAW Paste Data