summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b0e0c1f0bc3d216836a52f0acc226039eb8b585d (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.0
pkgrel=1
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://codeberg.org/chardon_cs/windfetch/archive/v${pkgver}.tar.gz
)
noextract=()
sha256sums=(
	"0b37f949fe549eb5e3bdfc8c9bd094ee2aebe190c49f4d872137772ccc31b734"
)
validpgpkeys=(
	"69713F2236BBD93D3E78EFEF0D56181B48414DE8" # Charles Dong
)

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