summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d046504dcadf4d12ebb7639c623a590eece1c9d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Aidan Neal <decator(dot)c(at)proton(dot)me>
pkgname="qinfo-git"
_pkgname="qinfo"
pkgver=r70.rb3f292d.
pkgrel=1
pkgdesc="A cross platform system info program. Fetches system info and displays it."
arch=("x86_64")
url="https://github.com/El-Wumbus/qinfo"
license=("GPL3")
provides=("qinfo")
makedepends=("gcc" "make")
depends=("coreutils")
optdepends=("snapd: List number of snap packages"
            "flatpak: List number of flatpak packages")
source=($_pkgname::"git+https://github.com/El-Wumbus/qinfo.git")
sha256sums=("SKIP")

pkgver() {
  cd "$_pkgname"
  printf "r%s.$s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd "$_pkgname"
  make DESTDIR="${pkgdir}" install
}