subrepo:
  subdir:   "radeontop"
  merged:   "e3f5d08"
upstream:
  origin:   "https://aur.archlinux.org/radeontop"
  branch:   "master"
  commit:   "e3f5d08"
git-subrepo:
  version:  "0.4.1"
  origin:   "???"
  commit:   "???"
This commit is contained in:
Gabriel Ebner 2020-12-31 11:32:02 +01:00
parent 2f6ce21de3
commit bb088f172b
4 changed files with 61 additions and 0 deletions

16
radeontop/.SRCINFO Normal file

@ -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

4
radeontop/.gitignore vendored Normal file

@ -0,0 +1,4 @@
*
!.gitignore
!.SRCINFO
!PKGBUILD

12
radeontop/.gitrepo Normal file

@ -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

29
radeontop/PKGBUILD Normal file

@ -0,0 +1,29 @@
# Maintainer: X0rg
# Contributor: Antoine Lubineau <antoine@lubignon.info>
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
}