summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c51a8a8bc6a8d72cd56336461ddc6615910b2bbf (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Maintainer: Charles Dong <chardon_cs@proton.me>

pkgname=windfetch
pkgver=0.2.1
pkgrel=2
pkgdesc="OS information tool. Fork of Neofetch"
arch=("any")
url="https://codeberg.org/chardon_cs/windfetch"
license=('MIT')
groups=()
backup=('etc/windfetch/config.conf')
depends=(
	"bash"
)
makedepends=(
	"make"
)
checkdepends=()
optdepends=(
  'catimg: Display Images'
  'chafa: Image to text support'
  'feh: Wallpaper Display'
  'imagemagick: Image cropping / Thumbnail creation / Take a screenshot'
  'jp2a: Display Images'
  'libcaca: Display Images'
  'nitrogen: Wallpaper Display'
  'w3m: 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'
)
provides=()
conflicts=()
replaces=()
options=()
install=
changelog=
source=(
	https://github.com/chardoncs/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz
)
noextract=()
sha256sums=(
	"c032a0d35ea739092352463f36c0e2cc5b9b0650563c7df4ff0cfbccb0755f94"
)
validpgpkeys=(
	"69713F2236BBD93D3E78EFEF0D56181B48414DE8" # Charles Dong
)

package() {
	cd "${pkgname}-${pkgver}"
	make DESTDIR="$pkgdir" install
	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}