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


Commits:
21128589 by Robin Candau at 2024-09-20T13:17:49+02:00
upgpkg: 0.4.8-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,19 +1,21 @@
 pkgbase = xfce4-pulseaudio-plugin
        pkgdesc = Pulseaudio plugin for the Xfce4 panel
        pkgver = 0.4.8
-       pkgrel = 1
-       url = 
https://goodies.xfce.org/projects/panel-plugins/xfce4-pulseaudio-plugin
+       pkgrel = 2
+       url = https://docs.xfce.org/panel-plugins/xfce4-pulseaudio-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
        depends = libpulse
        depends = libkeybinder3
        depends = libnotify
        depends = libcanberra
        optdepends = pavucontrol: default pulseaudio mixer
-       source = 
https://archive.xfce.org/src/panel-plugins/xfce4-pulseaudio-plugin/0.4/xfce4-pulseaudio-plugin-0.4.8.tar.bz2
-       sha256sums = 
bd742b207c39c221e91c57c9c9be2839eb802d1b1ee01a02b7427cd02d3f0348
+       source = 
git+https://gitlab.xfce.org/panel-plugins/xfce4-pulseaudio-plugin.git#tag=xfce4-pulseaudio-plugin-0.4.8
+       sha256sums = 
08a9d32358358ce03ae8e6d3d6496736931e666bda32705fef8ffda17ce09380
 
 pkgname = xfce4-pulseaudio-plugin


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,4 @@
+[xfce4-pulseaudio-plugin]
+source = "git"
+git = "https://gitlab.xfce.org/panel-plugins/xfce4-pulseaudio-plugin.git";
+prefix = "xfce4-pulseaudio-plugin-"


=====================================
PKGBUILD
=====================================
@@ -1,4 +1,5 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: Jan de Groot <[email protected]>
 # Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
 # Contributor: <alcasa dot mz at gmail dot com>
@@ -6,31 +7,35 @@
 
 pkgname=xfce4-pulseaudio-plugin
 pkgver=0.4.8
-pkgrel=1
+pkgrel=2
 pkgdesc="Pulseaudio plugin for the Xfce4 panel"
 arch=('x86_64')
-url="https://goodies.xfce.org/projects/panel-plugins/xfce4-pulseaudio-plugin";
-license=('GPL2')
+url="https://docs.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/start";
+license=('GPL-2.0-or-later')
 groups=('xfce4-goodies')
 depends=('xfce4-panel' 'libpulse' 'libkeybinder3' 'libnotify' 'libcanberra')
-makedepends=('intltool')
+makedepends=('git' 'intltool' 'xfce4-dev-tools')
 optdepends=('pavucontrol: default pulseaudio mixer')
-source=("git+https://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/#commit=$_commit";)
-source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('bd742b207c39c221e91c57c9c9be2839eb802d1b1ee01a02b7427cd02d3f0348')
+source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-pulseaudio-plugin.git#tag=$pkgname-$pkgver";)
+sha256sums=('08a9d32358358ce03ae8e6d3d6496736931e666bda32705fef8ffda17ce09380')
 
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
+prepare() {
+  cd $pkgname
+  ./autogen.sh \
     --prefix=/usr \
     --sysconfdir=/etc \
     --libexecdir=/usr/lib \
     --localstatedir=/var
+}
+
+build() {
+  cd $pkgname
   make
 }
 
 package() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }
+
+# vim:set ts=2 sw=2 et:



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-pulseaudio-plugin/-/commit/211285895edcb4e64c64c311f0a98230528a462d

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


Reply via email to