[arch-commits] Commit in meld/repos (staging-any staging-any/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 21:33:23 UTC 2019
Date: Monday, November 4, 2019 @ 21:33:23
Author: felixonmars
Revision: 366771
archrelease: copy trunk to staging-any
Added:
meld/repos/staging-any/
meld/repos/staging-any/PKGBUILD
(from rev 366770, meld/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: meld/repos/staging-any/PKGBUILD (from rev 366770, meld/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2019-11-04 21:33:23 UTC (rev 366771)
@@ -0,0 +1,40 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# 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.1
+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=9b4f890f96cbbf39dac6bda3ad438128e51f8558 # tags/3.20.1^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
+
+ git cherry-pick -n 9cb590f9804a89d8914d0d7d6c89c336f6d86d86 # Fix build with python 3.8
+}
+
+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