Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / xfce4-cpugraph-plugin
Commits: db3856a5 by Robin Candau at 2024-09-18T13:44:21+02:00 upgpkg: 1.2.10-2 Overall rework of the PKGBUILD Context: https://archlinux.org/todo/general-xfce-packages-rework/ - Update URL (point to upstream doc webpage for the package) - Use SPDX identifier for the license - Switch to a more transparent source (git sources) - Add nvchecker integration (.nvchecker.toml) - - - - - 3 changed files: - .SRCINFO - + .nvchecker.toml - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,16 +1,17 @@ pkgbase = xfce4-cpugraph-plugin pkgdesc = Graphical representation of the CPU load pkgver = 1.2.10 - pkgrel = 1 - url = https://docs.xfce.org/panel-plugins/xfce4-cpugraph-plugin + pkgrel = 2 + url = https://docs.xfce.org/panel-plugins/xfce4-cpugraph-plugin/start arch = x86_64 groups = xfce4-goodies - license = GPL - license = custom + license = GPL-2.0-or-later + makedepends = git makedepends = intltool + makedepends = xfce4-dev-tools depends = xfce4-panel depends = xfconf - source = https://archive.xfce.org/src/panel-plugins/xfce4-cpugraph-plugin/1.2/xfce4-cpugraph-plugin-1.2.10.tar.bz2 - sha256sums = 37792dd052691712195658169b95fb6583f924485ce7a467b33d01e08775d915 + 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 ===================================== .nvchecker.toml ===================================== @@ -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.*" ===================================== PKGBUILD ===================================== @@ -1,35 +1,38 @@ # Maintainer: Evangelos Foutras <[email protected]> +# Maintainer: Robin Candau <[email protected]> # Contributor: AndyRTR <[email protected]> # Contributor: Aurelien Foret <[email protected]> pkgname=xfce4-cpugraph-plugin pkgver=1.2.10 -pkgrel=1 +pkgrel=2 pkgdesc="Graphical representation of the CPU load" arch=('x86_64') -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: View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-cpugraph-plugin/-/commit/db3856a52cce8355cc65e42c3c617bdb43e75d08 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-cpugraph-plugin/-/commit/db3856a52cce8355cc65e42c3c617bdb43e75d08 You're receiving this email because of your account on gitlab.archlinux.org.
