* update xfce4-cpugraph-plugin to 1.2.10-2

This commit is contained in:
Alexander Baldeck 2024-11-26 12:04:36 +01:00
parent 7333ef8f73
commit 8e33efd9f5
3 changed files with 42 additions and 13 deletions

View File

@ -0,0 +1,21 @@
pkgbase = xfce4-cpugraph-plugin
pkgdesc = Graphical representation of the CPU load
pkgver = 1.2.10
pkgrel = 2
url = https://docs.xfce.org/panel-plugins/xfce4-cpugraph-plugin/start
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
groups = xfce4-goodies
license = GPL-2.0-or-later
makedepends = git
makedepends = intltool
makedepends = xfce4-dev-tools
depends = xfce4-panel
depends = xfconf
source = git+https://gitlab.xfce.org/panel-plugins/xfce4-cpugraph-plugin.git#tag=xfce4-cpugraph-plugin-1.2.10
sha256sums = ae4c21fe73f1c9060a95312be49bd0100cc444c83f91fe253b7f3ced5e6720eb
pkgname = xfce4-cpugraph-plugin

View File

@ -0,0 +1,5 @@
[xfce4-cpugraph-plugin]
source = "git"
git = "https://gitlab.xfce.org/panel-plugins/xfce4-cpugraph-plugin.git"
prefix = "xfce4-cpugraph-plugin-"
exclude_regex = "1.*|D20040606.*|v.*"

View File

@ -1,36 +1,39 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Maintainer: Evangelos Foutras <foutrelis@archlinux.org>
# Maintainer: Robin Candau <antiz@archlinux.org>
# Contributor: AndyRTR <andyrtr@archlinux.org>
# Contributor: Aurelien Foret <orelien@chez.com>
pkgname=xfce4-cpugraph-plugin
pkgver=1.2.10
pkgrel=1
pkgrel=2
pkgdesc="Graphical representation of the CPU load"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=('GPL' 'custom')
url="https://docs.xfce.org/panel-plugins/xfce4-cpugraph-plugin"
license=('GPL-2.0-or-later')
url="https://docs.xfce.org/panel-plugins/xfce4-cpugraph-plugin/start"
groups=('xfce4-goodies')
depends=('xfce4-panel' 'xfconf')
makedepends=('intltool')
source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
sha256sums=('37792dd052691712195658169b95fb6583f924485ce7a467b33d01e08775d915')
makedepends=('git' 'intltool' 'xfce4-dev-tools')
source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-cpugraph-plugin.git#tag=$pkgname-$pkgver")
sha256sums=('ae4c21fe73f1c9060a95312be49bd0100cc444c83f91fe253b7f3ced5e6720eb')
build() {
cd $pkgname-$pkgver
./configure \
prepare() {
cd $pkgname
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-debug
}
build() {
cd $pkgname
make
}
package() {
cd $pkgname-$pkgver
cd $pkgname
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
# vim:set ts=2 sw=2 et: