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


Commits:
0071b8d0 by Robin Candau at 2024-09-09T21:41:12+02:00
upgpkg: 1.28.1-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,19 +1,21 @@
 pkgbase = mate-polkit
        pkgdesc = PolicyKit integration for the MATE desktop
        pkgver = 1.28.1
-       pkgrel = 1
+       pkgrel = 2
        url = https://mate-desktop.org
        arch = x86_64
        groups = mate
-       license = LGPL
+       license = GPL-2.0-or-later
        makedepends = accountsservice
+       makedepends = autoconf-archive
+       makedepends = mate-common
        makedepends = gobject-introspection
        depends = gtk3
        depends = polkit
        depends = gettext
        conflicts = mate-polkit-gtk3
        replaces = mate-polkit-gtk3
-       source = 
https://pub.mate-desktop.org/releases/1.28/mate-polkit-1.28.1.tar.xz
-       sha256sums = 
350a1dd0a8ed6a2c9c183cff2a21f394299e968fcc6ae2e8c93c565dae604ae8
+       source = 
mate-polkit-1.28.1.tar.gz::https://github.com/mate-desktop/mate-polkit/archive/refs/tags/v1.28.1.tar.gz
+       sha256sums = 
b7dd0999f1570e41939997f075ddbf459650c6572dd89a63b3a1963d60427001
 
 pkgname = mate-polkit


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


=====================================
PKGBUILD
=====================================
@@ -4,31 +4,32 @@
 
 pkgname=mate-polkit
 pkgver=1.28.1
-pkgrel=1
+pkgrel=2
 pkgdesc="PolicyKit integration for the MATE desktop"
 url="https://mate-desktop.org";
 arch=('x86_64')
-license=('LGPL')
+license=('GPL-2.0-or-later')
 groups=('mate')
 depends=('gtk3' 'polkit' 'gettext')
-makedepends=('accountsservice' 'gobject-introspection')
+makedepends=('accountsservice' 'autoconf-archive' 'mate-common' 
'gobject-introspection')
 conflicts=('mate-polkit-gtk3')
 replaces=('mate-polkit-gtk3')
-source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz";)
-sha256sums=('350a1dd0a8ed6a2c9c183cff2a21f394299e968fcc6ae2e8c93c565dae604ae8')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mate-desktop/mate-polkit/archive/refs/tags/v${pkgver}.tar.gz";)
+sha256sums=('b7dd0999f1570e41939997f075ddbf459650c6572dd89a63b3a1963d60427001')
+
+prepare() {
+    cd "${pkgname}-${pkgver}"
+    ./autogen.sh
+}
 
 build() {
     cd "${pkgname}-${pkgver}"
     ./configure \
                 --prefix=/usr \
-                --libexecdir=/usr/lib/${pkgname} \
+                --libexecdir="/usr/lib/${pkgname}" \
                 --sysconfdir=/etc \
                 --localstatedir=/var \
                 --enable-introspection
-
-    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
-    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
     make
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mate-polkit/-/commit/0071b8d0e694b27176ac03138c703d3d033b85f5

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mate-polkit/-/commit/0071b8d0e694b27176ac03138c703d3d033b85f5
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to