summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7321e2ee699779bc0bd0fe6639ef13fd0dd534f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Hayate Nakamura <is01.njb at gmail dot com>
pkgname=unifetch-git
_pkgname=unifetch
pkgver=22.12
pkgrel=27
pkgdesc="An unofficial inheritor of neofetch, fresh version."
arch=('any')
url="https://github.com/jin-asanami/"
license=('MIT')
depends=('bash')
optdepends=(
  'feh: Wallpaper Display'
  'imagemagick: Image cropping / Thumbnail creation / Take a screenshot'
  'nitrogen: Wallpaper Display'
  'w3m: Display Images'
  'catimg: Display Images'
  'jp2a: Display Images'
  'libcaca: Display Images'
  'xdotool: See https://github.com/dylanaraps/neofetch/wiki/Images-in-the-terminal'
  'xorg-xdpyinfo: Resolution detection (Single Monitor)'
  'xorg-xprop: Desktop Environment and Window Manager'
  'xorg-xrandr: Resolution detection (Multi Monitor + Refresh rates)'
  'xorg-xwininfo: See https://github.com/dylanaraps/neofetch/wiki/Images-in-the-terminal'
)
makedepends=('git')
checkdepends=('shellcheck')
provides=('neofetch')
conflicts=("unifetch")
source=(${_pkgname}::"git+${url}/${_pkgname}.git")
sha512sums=('SKIP')

package() {
  cd ${_pkgname}
  git checkout master
  make DESTDIR="$pkgdir" install
  install -D -m644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
}