forked from dylanaraps/neofetch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKGBUILD
executable file
·40 lines (38 loc) · 1.26 KB
/
PKGBUILD
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
# Maintainer: wiz64 <[email protected]>
pkgname=neofetch
_pkgname=neofetch
pkgver=7.1.0.r0.gb0f98faa
pkgrel=1
pkgdesc="A CLI system information tool written in BASH that supports displaying images."
arch=('any')
url="https://github.com/JimniOS/${_pkgname}"
license=('MIT')
provides=($_pkgname)
conflicts=($_pkgname)
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')
source=("$pkgname::git+https://github.com/JimniOS/neofetch.git")
md5sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags --long | sed -r -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g'
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
install -D -m644 LICENSE.md "$pkgdir/usr/share/licenses/neofetch/LICENSE.md"
}