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


Commits:
7d3a5d2e by Robin Candau at 2024-09-10T00:16:54+02:00
upgpkg: 1.28.0-4: 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,12 +1,14 @@
 pkgbase = pluma
        pkgdesc = A powerful text editor for MATE
        pkgver = 1.28.0
-       pkgrel = 3
+       pkgrel = 4
        url = https://mate-desktop.org
        arch = x86_64
        groups = mate-extra
-       license = GPL
+       license = GPL-2.0-or-later
        makedepends = itstool
+       makedepends = git
+       makedepends = glib2-devel
        makedepends = gobject-introspection
        makedepends = python
        makedepends = mate-common
@@ -24,7 +26,9 @@ pkgbase = pluma
        optdepends = python-gobject: to use the python plugins
        conflicts = pluma-gtk3
        replaces = pluma-gtk3
-       source = https://pub.mate-desktop.org/releases/1.28/pluma-1.28.0.tar.xz
-       sha512sums = 
8f21aabed46a70dfe8446ddf6db5cc4326782328d0b8dd3689c8b906cc8d4b746712c6b9decfa48ef028bdbb8a0b1c6a2ec43def23488ae55cfd59aafd5a691a
+       source = git+https://github.com/mate-desktop/pluma.git#tag=v1.28.0
+       source = git+https://github.com/mate-desktop/mate-submodules.git
+       sha512sums = 
df72dcd262802d2dbeaf925466fb5aa6d45f04d6db771154804da52351712b8f3f120ed0438a64c1025c3ede69e4fd2228ea55b93402c1b41aa9890f1bf6618a
+       sha512sums = SKIP
 
 pkgname = pluma


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


=====================================
PKGBUILD
=====================================
@@ -4,40 +4,41 @@
 
 pkgname=pluma
 pkgver=1.28.0
-pkgrel=3
+pkgrel=4
 pkgdesc="A powerful text editor for MATE"
 url="https://mate-desktop.org";
 arch=('x86_64')
-license=('GPL')
+license=('GPL-2.0-or-later')
 depends=('iso-codes' 'mate-desktop' 'zenity' 'gtksourceview4' 'libpeas' 
'python' 'gettext' 'enchant' 'libsm')
-makedepends=('itstool' 'gobject-introspection' 'python' 'mate-common' 
'yelp-tools' 'autoconf-archive')
+makedepends=('itstool' 'git' 'glib2-devel' 'gobject-introspection' 'python' 
'mate-common' 'yelp-tools' 'autoconf-archive')
 optdepends=('python-gobject: to use the python plugins')
 groups=('mate-extra')
 conflicts=('pluma-gtk3')
 replaces=('pluma-gtk3')
-source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz";)
-sha512sums=('8f21aabed46a70dfe8446ddf6db5cc4326782328d0b8dd3689c8b906cc8d4b746712c6b9decfa48ef028bdbb8a0b1c6a2ec43def23488ae55cfd59aafd5a691a')
+source=("git+https://github.com/mate-desktop/pluma.git#tag=v${pkgver}";
+        git+https://github.com/mate-desktop/mate-submodules.git)
+sha512sums=('df72dcd262802d2dbeaf925466fb5aa6d45f04d6db771154804da52351712b8f3f120ed0438a64c1025c3ede69e4fd2228ea55b93402c1b41aa9890f1bf6618a'
+            'SKIP')
 
 prepare() {
-       cd "${pkgname}-${pkgver}"
-       ./autogen.sh
+       cd "${pkgname}"
+       git submodule init
+       git config submodule.mate-submodules.url "${srcdir}/mate-submodules"
+       git -c protocol.file.allow=always submodule update
+       NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-       cd "${pkgname}-${pkgver}"
+       cd "${pkgname}"
        ./configure \
                    --prefix=/usr \
-                   --libexecdir=/usr/lib/${pkgname} \
+                   --libexecdir="/usr/lib/${pkgname}" \
                    --enable-gtk-doc=no \
                    --enable-python
-
-       #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}"
        make DESTDIR="${pkgdir}" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/pluma/-/commit/7d3a5d2e9c999f0825ae42428202bd24c23388fa

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


Reply via email to