#Contributions from Arch: https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/inxi pkgname=inxi pkgver=3.0.10 pkgrel=1 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=("${pkgname}-${pkgver}.tar.gz::https://github.com/smxi/inxi/archive/${pkgver}-1.tar.gz") md5sums=('7e92d778e5e7eb38a42cb45c18e1962d') package() { cd ${pkgname}-${pkgver}-1 install -D -m755 $pkgname "${pkgdir}/usr/bin/$pkgname" install -D -m755 $pkgname.1 "${pkgdir}/usr/share/man/man1/$pkgname.1" }