Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / mate-terminal
Commits: 3b374d44 by Robin Candau at 2024-09-09T23:02:40+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,13 +1,18 @@ pkgbase = mate-terminal pkgdesc = The MATE Terminal Emulator pkgver = 1.28.1 - pkgrel = 1 + pkgrel = 2 url = https://mate-desktop.org arch = x86_64 groups = mate-extra - license = GPL + license = GPL-3.0-or-later + makedepends = autoconf-archive + makedepends = git + makedepends = glib2-devel makedepends = itstool + makedepends = mate-common makedepends = python + makedepends = yelp-tools depends = libsm depends = gettext depends = mate-desktop @@ -15,7 +20,9 @@ pkgbase = mate-terminal depends = perl conflicts = mate-terminal-gtk3 replaces = mate-terminal-gtk3 - source = https://pub.mate-desktop.org/releases/1.28/mate-terminal-1.28.1.tar.xz - sha256sums = f135eb1a9e2ae22798ecb2dc1914fdb4cfd774e6bb65c0152be37cc6c9469e92 + source = git+https://github.com/mate-desktop/mate-terminal.git#tag=v1.28.1 + source = git+https://github.com/mate-desktop/mate-submodules.git + sha256sums = 978d51f27880169a9891469eb32137c1038fa1ceac07cbe1cd78a6ae59dbd28c + sha256sums = SKIP pkgname = mate-terminal ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,4 @@ +[mate-terminal] +source = "git" +git = "https://github.com/mate-desktop/mate-terminal.git" +prefix = "v" ===================================== PKGBUILD ===================================== @@ -4,27 +4,41 @@ pkgname=mate-terminal pkgver=1.28.1 -pkgrel=1 +pkgrel=2 pkgdesc="The MATE Terminal Emulator" url="https://mate-desktop.org" arch=('x86_64') -license=('GPL') +license=('GPL-3.0-or-later') depends=('libsm' 'gettext' 'mate-desktop' 'vte3' 'perl') -makedepends=('itstool' 'python') +makedepends=('autoconf-archive' 'git' 'glib2-devel' 'itstool' 'mate-common' 'python' 'yelp-tools') groups=('mate-extra') conflicts=('mate-terminal-gtk3') replaces=('mate-terminal-gtk3') -source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz") -sha256sums=('f135eb1a9e2ae22798ecb2dc1914fdb4cfd774e6bb65c0152be37cc6c9469e92') +source=("git+https://github.com/mate-desktop/mate-terminal.git#tag=v${pkgver}" + git+https://github.com/mate-desktop/mate-submodules.git) +sha256sums=('978d51f27880169a9891469eb32137c1038fa1ceac07cbe1cd78a6ae59dbd28c' + '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 make } +check() { + cd "${pkgname}" + make check +} + package() { - cd "${pkgname}-${pkgver}" + cd "${pkgname}" make DESTDIR="${pkgdir}" install } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/mate-terminal/-/commit/3b374d447de10a24d8762d845e4a5feff4be4276 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/mate-terminal/-/commit/3b374d447de10a24d8762d845e4a5feff4be4276 You're receiving this email because of your account on gitlab.archlinux.org.