Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
xfce4-verve-plugin


Commits:
f6a6e7ce by Robin Candau at 2024-09-20T23:58:09+02:00
upgpkg: 2.0.3-3 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,14 +1,16 @@
 pkgbase = xfce4-verve-plugin
        pkgdesc = Command line plugin for the Xfce panel
        pkgver = 2.0.3
-       pkgrel = 2
-       url = https://docs.xfce.org/panel-plugins/xfce4-verve-plugin
+       pkgrel = 3
+       url = https://docs.xfce.org/panel-plugins/xfce4-verve-plugin/start
        arch = x86_64
        groups = xfce4-goodies
-       license = GPL2
+       license = GPL-2.0-or-later
+       makedepends = git
        makedepends = intltool
+       makedepends = xfce4-dev-tools
        depends = xfce4-panel
-       source = 
https://archive.xfce.org/src/panel-plugins/xfce4-verve-plugin/2.0/xfce4-verve-plugin-2.0.3.tar.bz2
-       sha256sums = 
e1bf121f1bf9cf2a199bf5c0f3aa802f503df9bea50724741e7a92fe6d9fe09e
+       source = 
git+https://gitlab.xfce.org/panel-plugins/xfce4-verve-plugin.git#tag=xfce4-verve-plugin-2.0.3
+       sha256sums = 
98344add0c918d406034aa4f5e70a9e9e32b36635195c2ca9d94d683b2948e11
 
 pkgname = xfce4-verve-plugin


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,5 @@
+[xfce4-verve-plugin]
+source = "git"
+git = "https://gitlab.xfce.org/panel-plugins/xfce4-verve-plugin.git";
+prefix = "xfce4-verve-plugin-"
+exclude_regex = "0.*|1.*|2.*"


=====================================
PKGBUILD
=====================================
@@ -1,31 +1,35 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: AndyRTR <[email protected]>
 # Contributor: Tobias Kieslich <tobias (at) archlinux.org>
 
 pkgname=xfce4-verve-plugin
 pkgver=2.0.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Command line plugin for the Xfce panel"
 arch=('x86_64')
-license=('GPL2')
-url="https://docs.xfce.org/panel-plugins/xfce4-verve-plugin";
+license=('GPL-2.0-or-later')
+url="https://docs.xfce.org/panel-plugins/xfce4-verve-plugin/start";
 groups=('xfce4-goodies')
 depends=('xfce4-panel')
-makedepends=('intltool')
-source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('e1bf121f1bf9cf2a199bf5c0f3aa802f503df9bea50724741e7a92fe6d9fe09e')
+makedepends=('git' 'intltool' 'xfce4-dev-tools')
+source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-verve-plugin.git#tag=$pkgname-$pkgver";)
+sha256sums=('98344add0c918d406034aa4f5e70a9e9e32b36635195c2ca9d94d683b2948e11')
 
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
+prepare() {
+  cd $pkgname
+  ./autogen.sh \
     --prefix=/usr \
     --disable-debug
+}
+
+build() {
+  cd $pkgname
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-verve-plugin/-/commit/f6a6e7cecbd1079c44b00a7eee784bc8f7ea2559

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-verve-plugin/-/commit/f6a6e7cecbd1079c44b00a7eee784bc8f7ea2559
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to