Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
xfdesktop


Commits:
82182510 by Robin Candau at 2024-09-21T00:40:24+02:00
upgpkg: 4.18.1-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,19 +1,22 @@
 pkgbase = xfdesktop
        pkgdesc = Xfce's desktop manager
        pkgver = 4.18.1
-       pkgrel = 2
+       pkgrel = 3
        url = https://docs.xfce.org/xfce/xfdesktop/start
        arch = x86_64
        groups = xfce4
-       license = GPL2
+       license = GPL-2.0-or-later
+       makedepends = git
+       makedepends = glib2-devel
        makedepends = intltool
+       makedepends = xfce4-dev-tools
        depends = libxfce4ui
        depends = libwnck3
        depends = exo
        depends = thunar
        depends = garcon
        depends = hicolor-icon-theme
-       source = 
https://archive.xfce.org/src/xfce/xfdesktop/4.18/xfdesktop-4.18.1.tar.bz2
-       sha256sums = 
ef9268190c25877e22a9ff5aa31cc8ede120239cb0dfca080c174e7eed4ff756
+       source = 
git+https://gitlab.xfce.org/xfce/xfdesktop.git#tag=xfdesktop-4.18.1
+       sha256sums = 
a67cae83863dc61fa994282fdf84f42abbcf2d727d41ae67f5bcb5282beeb516
 
 pkgname = xfdesktop


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,5 @@
+[xfdesktop]
+source = "git"
+git = "https://gitlab.xfce.org/xfce/xfdesktop.git";
+prefix = "xfdesktop-"
+exclude_regex = 'xfdesktop-4\.[12][13579]\.[0-9]+'


=====================================
PKGBUILD
=====================================
@@ -1,33 +1,37 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: tobias <tobias funnychar archlinux.org>
 
 pkgname=xfdesktop
 pkgver=4.18.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Xfce's desktop manager"
 arch=('x86_64')
 url="https://docs.xfce.org/xfce/xfdesktop/start";
-license=('GPL2')
+license=('GPL-2.0-or-later')
 groups=('xfce4')
 depends=('libxfce4ui' 'libwnck3' 'exo' 'thunar' 'garcon' 'hicolor-icon-theme')
-makedepends=('intltool')
-source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('ef9268190c25877e22a9ff5aa31cc8ede120239cb0dfca080c174e7eed4ff756')
+makedepends=('git' 'glib2-devel' 'intltool' 'xfce4-dev-tools')
+source=("git+https://gitlab.xfce.org/xfce/xfdesktop.git#tag=$pkgname-$pkgver";)
+sha256sums=('a67cae83863dc61fa994282fdf84f42abbcf2d727d41ae67f5bcb5282beeb516')
 
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
+prepare() {
+  cd $pkgname
+  ./autogen.sh \
     --prefix=/usr \
     --sysconfdir=/etc \
     --enable-thunarx \
     --enable-notifications \
     --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/xfdesktop/-/commit/821825107e7e4f753ac96ee812794f05b6dc5eb7

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xfdesktop/-/commit/821825107e7e4f753ac96ee812794f05b6dc5eb7
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to