[trunk] -> [community] 'radeontop-1.4-1' add

master
Dudemanguy 6 months ago
parent 163a7bdfe8
commit f8cec4fec8
  1. 34
      trunk/PKGBUILD
  2. 34
      x86_64/community/PKGBUILD

@ -0,0 +1,34 @@
# Maintainer: David Runge <dvzrv@archlinux.org>
pkgname=radeontop
pkgver=1.4
pkgrel=1
pkgdesc="View GPU utilization for total activity percent and individual blocks"
arch=(x86_64)
url="https://github.com/clbr/radeontop"
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=('078087929bdbcf9b131d78f5ab0adc3d086be168d376d9f8e27a886668764263b072e0b08cb4dde593284fcdd16faa44711125c2ea5a14aaad70c8fa0f57f2b9')
b2sums=('ad8893f491442c06f91c2a7bcf9cf884f066bb4fb01be019afbaa8e604ca12355647c624efa0742b15cb99e00fddbf71fa5b75f34086139acf0779c72668b354')
prepare() {
cd "$pkgname-$pkgver"
# set version
sed -e "s/unknown/${pkgver}/" -i getver.sh
./getver.sh
}
build() {
cd "$pkgname-$pkgver"
make
}
package() {
depends+=(libncursesw.so)
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
}

@ -0,0 +1,34 @@
# Maintainer: David Runge <dvzrv@archlinux.org>
pkgname=radeontop
pkgver=1.4
pkgrel=1
pkgdesc="View GPU utilization for total activity percent and individual blocks"
arch=(x86_64)
url="https://github.com/clbr/radeontop"
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=('078087929bdbcf9b131d78f5ab0adc3d086be168d376d9f8e27a886668764263b072e0b08cb4dde593284fcdd16faa44711125c2ea5a14aaad70c8fa0f57f2b9')
b2sums=('ad8893f491442c06f91c2a7bcf9cf884f066bb4fb01be019afbaa8e604ca12355647c624efa0742b15cb99e00fddbf71fa5b75f34086139acf0779c72668b354')
prepare() {
cd "$pkgname-$pkgver"
# set version
sed -e "s/unknown/${pkgver}/" -i getver.sh
./getver.sh
}
build() {
cd "$pkgname-$pkgver"
make
}
package() {
depends+=(libncursesw.so)
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
}
Loading…
Cancel
Save