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


Commits:
8a29c1ed by Robin Candau at 2024-09-09T21:23:08+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,14 @@
 pkgbase = mate-notification-daemon
        pkgdesc = Notification daemon for MATE
        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 = glib2-devel
+       makedepends = mate-common
        makedepends = python
        depends = libcanberra
        depends = libwnck3
@@ -15,7 +18,7 @@ pkgbase = mate-notification-daemon
        provides = notification-daemon
        conflicts = mate-notification-daemon-gtk3
        replaces = mate-notification-daemon-gtk3
-       source = 
https://pub.mate-desktop.org/releases/1.28/mate-notification-daemon-1.28.0.tar.xz
-       sha256sums = 
a4310348ead866cbcb9b4c463f4d265cc6a96a1a782a9411a08b23bd65dbb2e0
+       source = 
mate-notification-daemon-1.28.0.tar.gz::https://github.com/mate-desktop/mate-notification-daemon/archive/refs/tags/v1.28.0.tar.gz
+       sha256sums = 
b86fa78d3c34851328c494aa374450ca8fe7a13c22e6f6154c5d503197662545
 
 pkgname = mate-notification-daemon


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


=====================================
PKGBUILD
=====================================
@@ -4,29 +4,30 @@
 
 pkgname=mate-notification-daemon
 pkgver=1.28.0
-pkgrel=1
+pkgrel=2
 provides=('notification-daemon')
 pkgdesc="Notification daemon for MATE"
 url="https://mate-desktop.org";
 arch=('x86_64')
-license=('GPL')
+license=('GPL-2.0-or-later')
 groups=('mate')
 depends=('libcanberra' 'libwnck3' 'libnotify' 'gettext' 'mate-panel')
-makedepends=('python')
+makedepends=('autoconf-archive' 'glib2-devel' 'mate-common' 'python')
 conflicts=('mate-notification-daemon-gtk3')
 replaces=('mate-notification-daemon-gtk3')
-source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz";)
-sha256sums=('a4310348ead866cbcb9b4c463f4d265cc6a96a1a782a9411a08b23bd65dbb2e0')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mate-desktop/mate-notification-daemon/archive/refs/tags/v${pkgver}.tar.gz";)
+sha256sums=('b86fa78d3c34851328c494aa374450ca8fe7a13c22e6f6154c5d503197662545')
+
+prepare() {
+    cd "${pkgname}-${pkgver}"
+    ./autogen.sh
+}
 
 build() {
     cd "${pkgname}-${pkgver}"
     ./configure \
                 --prefix=/usr \
-                --libexecdir=/usr/lib/${pkgname}
-
-    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
-    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
+                --libexecdir="/usr/lib/${pkgname}"
     make
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mate-notification-daemon/-/commit/8a29c1ede804f572002004471c0a182d594ca58b

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


Reply via email to