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


Commits:
b2c6a6cf by Robin Candau at 2024-09-21T00:21:26+02:00
upgpkg: 2.8.3-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,20 @@
 pkgbase = xfce4-whiskermenu-plugin
        pkgdesc = Menu for Xfce4
        pkgver = 2.8.3
-       pkgrel = 1
-       url = https://gottcode.org/xfce4-whiskermenu-plugin/
+       pkgrel = 2
+       url = https://docs.xfce.org/panel-plugins/xfce4-whiskermenu-plugin/start
        arch = x86_64
        groups = xfce4-goodies
-       license = GPL2
+       license = GPL-2.0-or-later
        makedepends = cmake
+       makedepends = git
        makedepends = ninja
        depends = accountsservice
        depends = garcon
        depends = gtk3
        depends = gtk-layer-shell
        depends = xfce4-panel
-       source = 
https://archive.xfce.org/src/panel-plugins/xfce4-whiskermenu-plugin/2.8/xfce4-whiskermenu-plugin-2.8.3.tar.bz2
-       sha256sums = 
e776c287658f98d0739447279522fe78766088438242cf2365a49c8973fc9cd0
+       source = 
git+https://gitlab.xfce.org/panel-plugins/xfce4-whiskermenu-plugin.git#tag=v2.8.3
+       sha256sums = 
cdd4e512be94fc83fdf30578826075adfc1f3c96aea520121d0741665965f7df
 
 pkgname = xfce4-whiskermenu-plugin


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


=====================================
PKGBUILD
=====================================
@@ -1,26 +1,28 @@
-# Maintainer: Brad Fanella <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
+# Contributor: Brad Fanella <[email protected]>
 # Contributor: Alexander F Rødseth <[email protected]>
 # Contributor: Graeme Gott <[email protected]>
 
 pkgname=xfce4-whiskermenu-plugin
 pkgver=2.8.3
-pkgrel=1
+pkgrel=2
 pkgdesc='Menu for Xfce4'
 arch=('x86_64')
-url='https://gottcode.org/xfce4-whiskermenu-plugin/'
+url='https://docs.xfce.org/panel-plugins/xfce4-whiskermenu-plugin/start'
+license=('GPL-2.0-or-later')
 groups=('xfce4-goodies')
-license=('GPL2')
 depends=('accountsservice' 'garcon' 'gtk3' 'gtk-layer-shell' 'xfce4-panel')
-makedepends=('cmake' 'ninja')
-source=("https://archive.xfce.org/src/panel-plugins/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2";)
-sha256sums=('e776c287658f98d0739447279522fe78766088438242cf2365a49c8973fc9cd0')
+makedepends=('cmake' 'git' 'ninja')
+source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-whiskermenu-plugin.git#tag=v${pkgver}";)
+sha256sums=('cdd4e512be94fc83fdf30578826075adfc1f3c96aea520121d0741665965f7df')
 
 build() {
-  cmake -B build -S "${srcdir}/${pkgname}-${pkgver}" \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -GNinja
+  cmake -B build -S "${pkgname}" \
+    -DCMAKE_BUILD_TYPE='None' \
+    -DCMAKE_INSTALL_PREFIX='/usr' \
+    -DCMAKE_INSTALL_LIBDIR='lib' \
+    -GNinja \
+    -Wno-dev
   cmake --build build
 }
 



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

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


Reply via email to