From bb088f172ba71173faa2d9661beaec5169f01e36 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Thu, 31 Dec 2020 11:32:02 +0100 Subject: [PATCH] git subrepo clone https://aur.archlinux.org/radeontop subrepo: subdir: "radeontop" merged: "e3f5d08" upstream: origin: "https://aur.archlinux.org/radeontop" branch: "master" commit: "e3f5d08" git-subrepo: version: "0.4.1" origin: "???" commit: "???" --- radeontop/.SRCINFO | 16 ++++++++++++++++ radeontop/.gitignore | 4 ++++ radeontop/.gitrepo | 12 ++++++++++++ radeontop/PKGBUILD | 29 +++++++++++++++++++++++++++++ 4 files changed, 61 insertions(+) create mode 100644 radeontop/.SRCINFO create mode 100644 radeontop/.gitignore create mode 100644 radeontop/.gitrepo create mode 100644 radeontop/PKGBUILD diff --git a/radeontop/.SRCINFO b/radeontop/.SRCINFO new file mode 100644 index 0000000..eca4401 --- /dev/null +++ b/radeontop/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = radeontop + pkgdesc = Radeon cards monitoring utility + pkgver = 1.3 + pkgrel = 1 + url = https://github.com/clbr/radeontop + arch = i686 + arch = x86_64 + license = GPL3 + depends = ncurses + depends = libdrm + depends = libxcb + source = radeontop-1.3.tar.gz::https://github.com/clbr/radeontop/archive/v1.3.tar.gz + sha512sums = cc54e0726b2a934d14ad591c7a199474b49885e6122399b282e9289610d26f3c55b3d68a7d655d88a0ff8de1a0ac0994e868fa06ae1198416aaf857a099181f1 + +pkgname = radeontop + diff --git a/radeontop/.gitignore b/radeontop/.gitignore new file mode 100644 index 0000000..05c6d4d --- /dev/null +++ b/radeontop/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/radeontop/.gitrepo b/radeontop/.gitrepo new file mode 100644 index 0000000..89e2c17 --- /dev/null +++ b/radeontop/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://aur.archlinux.org/radeontop + branch = master + commit = e3f5d08e7a8fa0fd1116bb8b98f3e2d1cfc0b6cd + parent = 2f6ce21de3d30500014e76c4aa782349c987263e + method = merge + cmdver = 0.4.1 diff --git a/radeontop/PKGBUILD b/radeontop/PKGBUILD new file mode 100644 index 0000000..f666d18 --- /dev/null +++ b/radeontop/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: X0rg +# Contributor: Antoine Lubineau + +pkgname=radeontop +pkgver=1.3 +pkgrel=1 +pkgdesc="Radeon cards monitoring utility" +arch=('i686' 'x86_64') +url="https://github.com/clbr/radeontop" +license=('GPL3') +depends=('ncurses' 'libdrm' 'libxcb') +source=("$pkgname-$pkgver.tar.gz::https://github.com/clbr/radeontop/archive/v$pkgver.tar.gz") +sha512sums=('cc54e0726b2a934d14ad591c7a199474b49885e6122399b282e9289610d26f3c55b3d68a7d655d88a0ff8de1a0ac0994e868fa06ae1198416aaf857a099181f1') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + sed -i "s/sbin/bin/" Makefile +} + +build() { + export amdgpu=1 + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +}