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


Commits:
421bc318 by Robin Candau at 2024-09-21T00:35:00+02:00
upgpkg: 4.18.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,16 +1,19 @@
 pkgbase = xfconf
        pkgdesc = D-Bus-based configuration storage system
        pkgver = 4.18.3
-       pkgrel = 1
+       pkgrel = 2
        url = https://docs.xfce.org/xfce/xfconf/start
        arch = x86_64
        groups = xfce4
-       license = GPL2
+       license = GPL-2.0-or-later
+       makedepends = git
+       makedepends = glib2-devel
        makedepends = intltool
        makedepends = gobject-introspection
        makedepends = vala
+       makedepends = xfce4-dev-tools
        depends = libxfce4util
-       source = 
https://archive.xfce.org/src/xfce/xfconf/4.18/xfconf-4.18.3.tar.bz2
-       sha256sums = 
c56cc69056f6947b2c60b165ec1e4c2b0acf26a778da5f86c89ffce24d5ebd98
+       source = git+https://gitlab.xfce.org/xfce/xfconf.git#tag=xfconf-4.18.3
+       sha256sums = 
ba27e7990159a4a8fbb2a7837a62f728d109d8858bd91de8d60873727c5db911
 
 pkgname = xfconf


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


=====================================
PKGBUILD
=====================================
@@ -1,36 +1,37 @@
 # Maintainer: Evangelos Foutras <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
 # Contributor: tobias <tobias funnychar archlinux.org>
 
 pkgname=xfconf
 pkgver=4.18.3
-pkgrel=1
+pkgrel=2
 pkgdesc="D-Bus-based configuration storage system"
 arch=('x86_64')
 url="https://docs.xfce.org/xfce/xfconf/start";
-license=('GPL2')
+license=('GPL-2.0-or-later')
 groups=('xfce4')
 depends=('libxfce4util')
-makedepends=('intltool' 'gobject-introspection' 'vala')
-source=(https://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2)
-sha256sums=('c56cc69056f6947b2c60b165ec1e4c2b0acf26a778da5f86c89ffce24d5ebd98')
+makedepends=('git' 'glib2-devel' 'intltool' 'gobject-introspection' 'vala' 
'xfce4-dev-tools')
+source=("git+https://gitlab.xfce.org/xfce/xfconf.git#tag=$pkgname-$pkgver";)
+sha256sums=('ba27e7990159a4a8fbb2a7837a62f728d109d8858bd91de8d60873727c5db911')
 
 prepare() {
-  cd $pkgname-$pkgver
-}
-
-build() {
-  cd $pkgname-$pkgver
-
-  ./configure \
+  cd $pkgname
+  ./autogen.sh \
     --prefix=/usr \
     --sysconfdir=/etc \
     --localstatedir=/var \
+    --enable-gtk-doc \
     --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/xfconf/-/commit/421bc3184277b41eedf43ae19aba37250520f126

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


Reply via email to