Date: Thursday, December 15, 2022 @ 21:38:59
  Author: serebit
Revision: 1359397

Migrate inxi from AUR to community

Added:
  inxi/
  inxi/repos/
  inxi/trunk/
  inxi/trunk/PKGBUILD

----------+
 PKGBUILD |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

Added: inxi/trunk/PKGBUILD
===================================================================
--- inxi/trunk/PKGBUILD                         (rev 0)
+++ inxi/trunk/PKGBUILD 2022-12-15 21:38:59 UTC (rev 1359397)
@@ -0,0 +1,49 @@
+# Maintainer: Campbell Jones <arch at serebit dot com>
+# Contributor: Fabio 'Lolix' Loli <[email protected]> -> 
https://github.com/FabioLolix
+# Contributor: Stefano Capitani <stefanoatmanjarodotorg>
+# Contributor: Florian Pritz <[email protected]>
+
+pkgname=inxi
+_pkgver=3.3.24-1
+pkgver=${_pkgver//-/.}
+pkgrel=2
+pkgdesc="Full featured CLI system information tool"
+arch=(any)
+url="https://smxi.org/docs/inxi.htm";
+license=(GPL3)
+depends=(coreutils pciutils perl procps-ng)
+optdepends=(
+        "bluez-tools: bt-adapter: -E bluetooth data"
+        "bind: -i wlan IP"
+        "dmidecode: inxi -M if no sys machine data"
+        "file: inxi -o unmounted file system"
+        "freeipmi: ipmi-sensors: -s IPMI sensors"
+        "hddtemp: inxi -Dx show hdd temp"
+        "iproute2: inxi -i ip lan"
+        "ipmitool: -s IPMI sensors"
+        "kmod: inxi -Ax,-Nx module version"
+        "lm_sensors: inxi -s sensors output"
+        "mesa-utils: inxi -G glx info"
+        "net-tools: inxi -i ip lan-deprecated"
+        "perl-io-socket-ssl: -U; -w,-W; -i (if dig not installed)"
+        "perl-cpanel-json-xs: --output json - required for export"
+        "perl-xml-dumper: --output xml - Crude and raw"
+        "systemd-sysvcompat: inxi -I runlevel"
+        "sudo: inxi -Dx hddtemp-user;-o file-user"
+        "tree: --debugger 20,21 /sys tree"
+        "upower: -sx attached device battery info"
+        "usbutils: inxi -A usb audio;-N usb networking"
+        "wmctrl: -S active window manager (not all wm)"
+        "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/refs/tags/${_pkgver}.tar.gz";)
+sha256sums=('d485cee911f3447afb0f3fb3be2851e31895945ccd37c01fb59c87b12e233991')
+
+package() {
+    cd "$pkgname-${_pkgver}"
+
+    install -Dm 00755 $pkgname "${pkgdir}/usr/bin/$pkgname"
+    install -Dm 00644 $pkgname.1 "${pkgdir}/usr/share/man/man1/$pkgname.1"
+}

Reply via email to