Package Details: osysinfo 1.1-2

Git Clone URL: https://aur.archlinux.org/osysinfo.git (read-only, click to copy)
Package Base: osysinfo
Description: A basic CLI tool to see your system details
Upstream URL: https://github.com/ottop/osysinfo
Licenses: GPL3
Submitter: bobolin
Maintainer: bobolin
Last Packager: bobolin
Votes: 0
Popularity: 0.000000
First Submitted: 2021-05-11 07:33 (UTC)
Last Updated: 2021-10-04 07:59 (UTC)

Latest Comments

lmartinez-mirror commented on 2021-06-27 06:59 (UTC) (edited on 2021-06-27 06:59 (UTC) by lmartinez-mirror)

Hi, I've gone and created a patch for this PKGBUILD with the following fixes:

  • Changed arch to any since this script does not use any compiled components
  • Changed sources and sha256sums accordingly to reflect earlier point
  • Moved makedepends to depends since they are required for runtime
  • Added the README
diff --git a/PKGBUILD b/PKGBUILD
index bc3c0db..969f543 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,19 @@
 # Maintainer: Borislav Borisov <borislav.borisov@gmail.com>
+# Contributor: Luis Martinez <luis dot martinez at tuta dot io>

 pkgname=osysinfo
-pkgver=1.0
+pkgver=1.1
 pkgrel=1
 pkgdesc="A basic CLI tool to see your system details"
-arch=('x86_64')
+arch=('any')
 url="https://github.com/ottop/osysinfo"
-license=('GPL')
-makedepends=('python-fire' 'python-distro' 'python-psutil')
-source_x86_64=('https://github.com/ottop/osysinfo/archive/refs/tags/1.0.tar.gz')
-sha256sums_x86_64=('4f431460bb2ef5543474d742b576882e8217d5d5ad7d2f346249abcc53aee70a')
+license=('GPL3')
+depends=('python-fire' 'python-distro' 'python-psutil')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
+sha256sums=('7ebe5f1e90ccc3ede263b2006a229cc3df4e8cee333409f49cbf1affe2f8f6b1')

 package() {
-   cd "$srcdir/$pkgname-$pkgver"
+   cd "$pkgname-$pkgver"
    install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+   install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
 }
-