# Contributor: Dennis Krupenik <dennis@krupenik.com>
# Maintainer: Dennis Krupenik <dennis@krupenik.com>
pkgname=inxi
_pkgver=3.3.35-1
pkgver=${_pkgver/-/.}
pkgrel=0
pkgdesc="Fully featured CLI system information tool"
url="https://smxi.org/"
arch="noarch"
license="GPL-3.0-or-later"
depends="perl"
subpackages="$pkgname-doc"
source="$pkgname-$_pkgver.tar.gz::https://codeberg.org/smxi/inxi/archive/$_pkgver.tar.gz"
builddir="$srcdir/$pkgname"

check() {
	# no upstream tests
	./inxi --version
}

package() {
	install -Dm0755 inxi -t "$pkgdir"/usr/bin
	install -Dm0644 inxi.1 -t "$pkgdir"/usr/share/man/man1
}

sha512sums="
f71d18c63d7d4dbe4d9d1d6c1dace2527c5ef1c29f58ea08d0d3f09f86c0a7514ec448b3f1f83392d19bd7c64e3718d1ed5f420589a67893ad9b32cc8d0c810c  inxi-3.3.35-1.tar.gz
"
