Date: Friday, April 7, 2023 @ 04:11:30
Author: felixonmars
Revision: 472877
archrelease: copy trunk to staging-any
Added:
meld/repos/staging-any/
meld/repos/staging-any/PKGBUILD
(from rev 472876, meld/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: meld/repos/staging-any/PKGBUILD (from rev 472876, meld/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2023-04-07 04:11:30 UTC (rev 472877)
@@ -0,0 +1,43 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Gaetan Bisson <[email protected]>
+# Contributor: Daniel J Griffiths <[email protected]>
+# Contributor: Douglas Soares de Andrade <[email protected]>
+
+pkgname=meld
+pkgver=3.22.0
+pkgrel=2
+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)
+checkdepends=(appstream-glib)
+_commit=322f05876e841d1fa7a162d4c5a4e15226823b7c # tags/3.22.0^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"
+}