desktop/inxi/PKGBUILD
2015-11-16 00:34:48 +01:00

34 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.2.30
pkgrel=1
gitcommit=f667be4
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-sysvcompat: 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=('120fcc43422a5919d465e5e56948a309')
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"
}