mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
#Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/inxi
|
|
|
|
pkgname=inxi
|
|
pkgver=2.3.1
|
|
pkgrel=1
|
|
gitcommit=7a6f176
|
|
pkgdesc="a full featured CLI system information tool"
|
|
url="https://github.com/smxi/inxi"
|
|
license=('GPL')
|
|
arch=('x86_64')
|
|
depends=('coreutils' 'gawk' 'grep' 'pciutils' 'procps-ng' 'sed')
|
|
optdepends=(
|
|
"dmidecode: inxi -M if no sys machine data"
|
|
"file: inxi -o unmounted file system"
|
|
"hddtemp: inxi -Dx show hdd temp"
|
|
"net-tools: inxi -i ip lan-deprecated"
|
|
"iproute2: inxi -i ip lan"
|
|
"lm_sensors: inxi -s sensors output"
|
|
"usbutils: inxi -A usb audio;-N usb networking"
|
|
"kmod: inxi -Ax,-Nx module version"
|
|
"systemd: inxi -I runlevel"
|
|
"mesa-demos: inxi -G glx info"
|
|
"xorg-xdpyinfo: inxi -G multi screen resolution"
|
|
"xorg-xprop: inxi -S desktop data"
|
|
"xorg-xrandr: inxi -G single screen resolution"
|
|
)
|
|
source="https://github.com/smxi/inxi/tarball/$gitcommit"
|
|
md5sums=('592e6e682117e6570e5a7dd66405635c')
|
|
|
|
package() {
|
|
cd "smxi-$pkgname-$gitcommit"
|
|
install -D -m755 inxi "$pkgdir/usr/bin/inxi"
|
|
install -D -m755 inxi.1.gz "$pkgdir/usr/share/man/man1/inxi.1.gz"
|
|
}
|