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

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 23:37:43 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:37:43
  Author: foutrelis
Revision: 430507

archrelease: copy trunk to staging-any

Added:
  meld/repos/staging-any/
  meld/repos/staging-any/PKGBUILD
    (from rev 430506, meld/trunk/PKGBUILD)

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

Copied: meld/repos/staging-any/PKGBUILD (from rev 430506, meld/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2021-12-02 23:37:43 UTC (rev 430507)
@@ -0,0 +1,38 @@
+# 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
+}



More information about the arch-commits mailing list