[arch-commits] Commit in radeontop/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Wed Nov 24 17:12:50 UTC 2021


    Date: Wednesday, November 24, 2021 @ 17:12:50
  Author: dvzrv
Revision: 1054714

upgpkg: radeontop 1.4-1: Upgrade to 1.4.

Add xorgproto as additional makedepends.
Simplify quoting in file.
Remove now unnecessary modification of Makefile.

Modified:
  radeontop/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-24 17:01:17 UTC (rev 1054713)
+++ PKGBUILD	2021-11-24 17:12:50 UTC (rev 1054714)
@@ -1,22 +1,20 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 
 pkgname=radeontop
-pkgver=1.3
-pkgrel=2
+pkgver=1.4
+pkgrel=1
 pkgdesc="View GPU utilization for total activity percent and individual blocks"
-arch=('x86_64')
+arch=(x86_64)
 url="https://github.com/clbr/radeontop"
-license=('GPL3')
-depends=('glibc' 'libdrm' 'libpciaccess' 'libxcb')
-makedepends=('ncurses')
+license=(GPL3)
+depends=(glibc libdrm libpciaccess libxcb)
+makedepends=(ncurses xorgproto)
 source=("$pkgname-$pkgver.tar.gz::https://github.com/clbr/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('cc54e0726b2a934d14ad591c7a199474b49885e6122399b282e9289610d26f3c55b3d68a7d655d88a0ff8de1a0ac0994e868fa06ae1198416aaf857a099181f1')
-b2sums=('41bc36c571a99a136f2d1c1d5ff1a06b1e99bccb6e01f7432b9867e2700afa9d2b5cab7f743d3560b2120642c98253313e0356af977805ada173cd3c2168acbc')
+sha512sums=('078087929bdbcf9b131d78f5ab0adc3d086be168d376d9f8e27a886668764263b072e0b08cb4dde593284fcdd16faa44711125c2ea5a14aaad70c8fa0f57f2b9')
+b2sums=('ad8893f491442c06f91c2a7bcf9cf884f066bb4fb01be019afbaa8e604ca12355647c624efa0742b15cb99e00fddbf71fa5b75f34086139acf0779c72668b354')
 
 prepare() {
   cd "$pkgname-$pkgver"
-  # Makefile hardcodes the binary location
-  sed -e 's/sbin/bin/g' -i Makefile
   # set version
   sed -e "s/unknown/${pkgver}/" -i getver.sh
   ./getver.sh
@@ -28,7 +26,8 @@
 }
 
 package() {
-  depends+=('libncursesw.so')
+  depends+=(libncursesw.so)
+
   cd "$pkgname-$pkgver"
   make DESTDIR="$pkgdir/" install
   install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"



More information about the arch-commits mailing list