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


Commits:
f4192f7d by Robin Candau at 2024-09-09T08:11:22+02:00
upgpkg: 1.28.2-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,13 +1,14 @@
 pkgbase = mate-desktop
        pkgdesc = Library with common API for various MATE modules
        pkgver = 1.28.2
-       pkgrel = 1
+       pkgrel = 2
        url = http://mate-desktop.org
        arch = x86_64
        groups = mate
-       license = GPL
-       license = LGPL
+       license = GPL-2.0-or-later AND LGPL-2.0-or-later
+       makedepends = autoconf-archive
        makedepends = gobject-introspection
+       makedepends = mate-common
        makedepends = intltool
        depends = gtk3
        depends = startup-notification
@@ -16,7 +17,7 @@ pkgbase = mate-desktop
        conflicts = mate-desktop-schemas
        replaces = mate-desktop-gtk3
        replaces = mate-desktop-schemas
-       source = 
https://pub.mate-desktop.org/releases/1.28/mate-desktop-1.28.2.tar.xz
-       sha256sums = 
32bb4b792014b391c1e1b8ae9c18a82b4d447650984b4cba7d28e95564964aa2
+       source = 
mate-desktop-1.28.2.tar.gz::https://github.com/mate-desktop/mate-desktop/archive/refs/tags/v1.28.2.tar.gz
+       sha256sums = 
5c235208ab391a74003a38584a2001c722e4b603a7d0d0b0f45da48972e2e6e4
 
 pkgname = mate-desktop


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


=====================================
PKGBUILD
=====================================
@@ -4,33 +4,33 @@
 
 pkgname=mate-desktop
 pkgver=1.28.2
-pkgrel=1
+pkgrel=2
 pkgdesc="Library with common API for various MATE modules"
 url="http://mate-desktop.org";
 arch=('x86_64')
-license=('GPL' 'LGPL')
+license=('GPL-2.0-or-later AND LGPL-2.0-or-later')
 depends=('gtk3' 'startup-notification' 'iso-codes')
-makedepends=('gobject-introspection' 'intltool')
+makedepends=('autoconf-archive' 'gobject-introspection' 'mate-common' 
'intltool')
 groups=('mate')
 conflicts=('mate-desktop-gtk3' 'mate-desktop-schemas')
 replaces=('mate-desktop-gtk3' 'mate-desktop-schemas')
-source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz";)
-sha256sums=('32bb4b792014b391c1e1b8ae9c18a82b4d447650984b4cba7d28e95564964aa2')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mate-desktop/mate-desktop/archive/refs/tags/v${pkgver}.tar.gz";)
+sha256sums=('5c235208ab391a74003a38584a2001c722e4b603a7d0d0b0f45da48972e2e6e4')
+
+prepare() {
+       cd "${pkgname}-${pkgver}"
+       ./autogen.sh
+}
 
 build() {
-       cd "$pkgname-$pkgver"
+       cd "${pkgname}-${pkgver}"
        ./configure \
                --prefix=/usr \
                --disable-schemas-compile
-
-       #https://bugzilla.gnome.org/show_bug.cgi?id=656231
-       sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
        make
 }
 
 package() {
-       cd "$pkgname-$pkgver"
-
+       cd "${pkgname}-${pkgver}"
        make DESTDIR="${pkgdir}" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mate-desktop/-/commit/f4192f7d092ed98f9976133e0255e09dbc6cce79

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


Reply via email to