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


Commits:
ca525111 by Robin Candau at 2024-09-19T13:34:32+02:00
upgpkg: 4.6.0-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,16 +1,18 @@
 pkgbase = xfce4-eyes-plugin
        pkgdesc = A rolling eyes (following mouse pointer) plugin for the Xfce 
panel
        pkgver = 4.6.0
-       pkgrel = 2
-       url = https://docs.xfce.org/panel-plugins/xfce4-eyes-plugin
+       pkgrel = 3
+       url = https://docs.xfce.org/panel-plugins/xfce4-eyes-plugin/start
        arch = x86_64
        groups = xfce4-goodies
-       license = GPL2
+       license = GPL-2.0-or-later
+       makedepends = git
        makedepends = intltool
        makedepends = perl-xml-parser
+       makedepends = xfce4-dev-tools
        depends = xfce4-panel
        depends = hicolor-icon-theme
-       source = 
https://archive.xfce.org/src/panel-plugins/xfce4-eyes-plugin/4.6/xfce4-eyes-plugin-4.6.0.tar.bz2
-       sha256sums = 
ad0ff05d88ba393b7c8922f8233edd33fc0a4e8b000b61de1f8f3a10c5ae5324
+       source = 
git+https://gitlab.xfce.org/panel-plugins/xfce4-eyes-plugin.git#tag=xfce4-eyes-plugin-4.6.0
+       sha256sums = 
3e87397858ae4b5f6499f13cca28a0f1e6bd9db92b73d50c95fe691721c6c0aa
 
 pkgname = xfce4-eyes-plugin


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


=====================================
PKGBUILD
=====================================
@@ -1,34 +1,38 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: AndyRTR <[email protected]>
 # Contributor: Aurelien Foret <[email protected]>
 
 pkgname=xfce4-eyes-plugin
 pkgver=4.6.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A rolling eyes (following mouse pointer) plugin for the Xfce panel"
 arch=('x86_64')
-url="https://docs.xfce.org/panel-plugins/xfce4-eyes-plugin";
-license=('GPL2')
+url="https://docs.xfce.org/panel-plugins/xfce4-eyes-plugin/start";
+license=('GPL-2.0-or-later')
 groups=('xfce4-goodies')
 depends=('xfce4-panel' 'hicolor-icon-theme')
-makedepends=('intltool' 'perl-xml-parser')
-source=(https://archive.xfce.org/src/panel-plugins/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('ad0ff05d88ba393b7c8922f8233edd33fc0a4e8b000b61de1f8f3a10c5ae5324')
+makedepends=('git' 'intltool' 'perl-xml-parser' 'xfce4-dev-tools')
+source=("git+https://gitlab.xfce.org/panel-plugins/xfce4-eyes-plugin.git#tag=$pkgname-$pkgver";)
+sha256sums=('3e87397858ae4b5f6499f13cca28a0f1e6bd9db92b73d50c95fe691721c6c0aa')
 
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  ./configure \
+prepare() {
+  cd $pkgname
+  ./autogen.sh \
     --prefix=/usr \
     --sysconfdir=/etc \
     --libexecdir=/usr/lib \
     --localstatedir=/var \
     --disable-static
+}
+
+build() {
+  cd $pkgname
   make
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname
   make DESTDIR="$pkgdir" install
 }
 



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

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


Reply via email to