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


Commits:
62e4a1e0 by Robin Candau at 2024-09-20T12:49:37+02:00
upgpkg: 1.11.0-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,15 +1,18 @@
 pkgbase = xfce4-notes-plugin
        pkgdesc = Notes plugin for the Xfce panel
        pkgver = 1.11.0
-       pkgrel = 1
-       url = https://docs.xfce.org/panel-plugins/xfce4-notes-plugin
+       pkgrel = 2
+       url = https://docs.xfce.org/panel-plugins/xfce4-notes-plugin/start
        arch = x86_64
        groups = xfce4-goodies
-       license = GPL2
+       license = GPL-2.0-or-later
+       makedepends = git
        makedepends = intltool
+       makedepends = vala
+       makedepends = xfce4-dev-tools
        depends = xfce4-panel
        depends = hicolor-icon-theme
-       source = 
https://archive.xfce.org/src/panel-plugins/xfce4-notes-plugin/1.11/xfce4-notes-plugin-1.11.0.tar.bz2
-       sha256sums = 
eb38246deb0fc89535fa9ff9b953c762cece232b5585d8210fab9abbf282aae3
+       source = 
git+https://gitlab.xfce.org/panel-plugins/xfce4-notes-plugin.git#tag=xfce4-notes-plugin-1.11.0
+       sha256sums = 
418f90365e069b9318cf3bef21fd16d6121886453d723ff5ba1bb67ef2c537c4
 
 pkgname = xfce4-notes-plugin


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


=====================================
PKGBUILD
=====================================
@@ -1,33 +1,37 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: Andreas Radke <andyrtr at archlinux.org>
 # Contributor: Ben Mazer <[email protected]>
 
 pkgname=xfce4-notes-plugin
 pkgver=1.11.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Notes plugin for the Xfce panel"
 arch=('x86_64')
-license=('GPL2')
-url="https://docs.xfce.org/panel-plugins/xfce4-notes-plugin";
+license=('GPL-2.0-or-later')
+url="https://docs.xfce.org/panel-plugins/xfce4-notes-plugin/start";
 groups=('xfce4-goodies')
 depends=('xfce4-panel' 'hicolor-icon-theme')
-makedepends=('intltool')
-source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('eb38246deb0fc89535fa9ff9b953c762cece232b5585d8210fab9abbf282aae3')
+makedepends=('git' 'intltool' 'vala' 'xfce4-dev-tools')
+source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-notes-plugin.git#tag=$pkgname-$pkgver";)
+sha256sums=('418f90365e069b9318cf3bef21fd16d6121886453d723ff5ba1bb67ef2c537c4')
 
-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
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-notes-plugin/-/commit/62e4a1e02073aec6ba50e6441ad00f0c71ce8b54

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


Reply via email to