[arch-commits] Commit in meld/repos/extra-any (PKGBUILD PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Mon Jul 18 18:57:47 UTC 2022


    Date: Monday, July 18, 2022 @ 18:57:47
  Author: heftig
Revision: 451443

archrelease: copy trunk to extra-any

Added:
  meld/repos/extra-any/PKGBUILD
    (from rev 451442, meld/trunk/PKGBUILD)
Deleted:
  meld/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 42 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-18 18:55:59 UTC (rev 451442)
+++ PKGBUILD	2022-07-18 18:57:47 UTC (rev 451443)
@@ -1,38 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
-# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
-
-pkgname=meld
-pkgver=3.20.4
-pkgrel=2
-pkgdesc="Compare files, directories and working copies"
-url="https://meldmerge.org/"
-license=(GPL)
-arch=(any)
-depends=(python-gobject python-cairo gtksourceview3 gsettings-desktop-schemas dconf)
-makedepends=(intltool yelp-tools git)
-_commit=b3810b9407263adc1cb6bbd83448794b9e9957b2  # tags/3.20.4^0
-source=("git+https://gitlab.gnome.org/GNOME/meld.git#commit=$_commit")
-sha1sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-}
-
-build() {
-  cd $pkgname
-  python setup.py build
-}
-
-package() {
-  cd $pkgname
-  # using --skip-build breaks install
-  python setup.py --no-update-icon-cache --no-compile-schemas \
-    install --prefix=/usr --root="$pkgdir" --optimize=1
-}

Copied: meld/repos/extra-any/PKGBUILD (from rev 451442, meld/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-18 18:57:47 UTC (rev 451443)
@@ -0,0 +1,42 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=meld
+pkgver=3.21.2
+pkgrel=1
+pkgdesc="Compare files, directories and working copies"
+url="https://meldmerge.org/"
+license=(GPL)
+arch=(any)
+depends=(python-gobject python-cairo gtksourceview4 gsettings-desktop-schemas
+         dconf)
+makedepends=(meson yelp-tools git)
+_commit=29f751b10d5eb661878f416a0dc3b424442b0521  # tags/3.21.2^0
+source=("git+https://gitlab.gnome.org/GNOME/meld.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd meld
+  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+prepare() {
+  cd meld
+}
+
+build() {
+  arch-meson meld build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  meson install -C build --destdir "$pkgdir"
+  python -m compileall -d /usr/lib "$pkgdir/usr/lib"
+  python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
+}



More information about the arch-commits mailing list