Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
mate-session-manager


Commits:
67e458ac by Robin Candau at 2024-09-09T22:32:35+02:00
upgpkg: 1.28.0-2: Update licenses + use SPDX identifiers, use more transparent 
source, add nvchecker integration
https://archlinux.org/todo/general-mate-packages-rework/

- - - - -


3 changed files:

- .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,15 @@
 pkgbase = mate-session-manager
        pkgdesc = The MATE Session Handler
        pkgver = 1.28.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://mate-desktop.org
        arch = x86_64
        groups = mate
-       license = GPL
+       license = GPL-2.0-or-later
+       makedepends = autoconf-archive
+       makedepends = git
+       makedepends = glib2-devel
+       makedepends = mate-common
        makedepends = xtrans
        makedepends = systemd
        makedepends = python
@@ -18,7 +22,9 @@ pkgbase = mate-session-manager
        optdepends = xdg-user-dirs-gtk: manage user directories
        conflicts = mate-session-manager-gtk3
        replaces = mate-session-manager-gtk3
-       source = 
https://pub.mate-desktop.org/releases/1.28/mate-session-manager-1.28.0.tar.xz
-       sha256sums = 
d32ce4595ba1da65290777203f2bc82bd973b214a3a04080a1ef5c68990a2d7b
+       source = 
git+https://github.com/mate-desktop/mate-session-manager.git#tag=v1.28.0
+       source = git+https://github.com/mate-desktop/mate-submodules.git
+       sha256sums = 
3e9d2aafdf0119f04187aa65ab2f7098441a31bf3d50c01f0e934bb30e74c108
+       sha256sums = SKIP
 
 pkgname = mate-session-manager


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,4 @@
+[mate-session-manager]
+source = "git"
+git = "https://github.com/mate-desktop/mate-session-manager.git";
+prefix = "v"


=====================================
PKGBUILD
=====================================
@@ -4,26 +4,36 @@
 
 pkgname=mate-session-manager
 pkgver=1.28.0
-pkgrel=1
+pkgrel=2
 pkgdesc="The MATE Session Handler"
 url="https://mate-desktop.org";
 arch=('x86_64')
-license=('GPL')
+license=('GPL-2.0-or-later')
 depends=('dbus-glib' 'gettext' 'gtk3' 'libsm' 'mate-desktop')
-makedepends=('xtrans' 'systemd' 'python')
+makedepends=('autoconf-archive' 'git' 'glib2-devel' 'mate-common' 'xtrans' 
'systemd' 'python')
 optdepends=('gnome-keyring: keyring support'
             'xdg-user-dirs-gtk: manage user directories')
 groups=('mate')
 conflicts=('mate-session-manager-gtk3')
 replaces=('mate-session-manager-gtk3')
-source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz";)
-sha256sums=('d32ce4595ba1da65290777203f2bc82bd973b214a3a04080a1ef5c68990a2d7b')
+source=("git+https://github.com/mate-desktop/mate-session-manager.git#tag=v${pkgver}";
+        git+https://github.com/mate-desktop/mate-submodules.git)
+sha256sums=('3e9d2aafdf0119f04187aa65ab2f7098441a31bf3d50c01f0e934bb30e74c108'
+            'SKIP')
+
+prepare() {
+       cd "${pkgname}"
+       git submodule init
+       git config submodule.mate-submodules.url "${srcdir}/mate-submodules"
+       git -c protocol.file.allow=always submodule update
+       ./autogen.sh
+}
 
 build() {
-       cd "${pkgname}-${pkgver}"
+       cd "${pkgname}"
        ./configure \
                    --prefix=/usr \
-                   --libexecdir=/usr/lib/${pkgname} \
+                   --libexecdir="/usr/lib/${pkgname}" \
                    --sysconfdir=/etc \
                    --localstatedir=/var \
                    --disable-upower
@@ -31,6 +41,6 @@ build() {
 }
 
 package() {
-       cd "${pkgname}-${pkgver}"
+       cd "${pkgname}"
        make DESTDIR="${pkgdir}" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mate-session-manager/-/commit/67e458ac2bc26c9bf3dfbfe005f9eeab06eb916f

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mate-session-manager/-/commit/67e458ac2bc26c9bf3dfbfe005f9eeab06eb916f
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to