[arch-commits] Commit in gimp/trunk (PKGBUILD gimp.install)
Christian Hesse
eworm at archlinux.org
Thu Mar 19 16:31:03 UTC 2020
Date: Thursday, March 19, 2020 @ 16:31:02
Author: eworm
Revision: 377932
upgpkg: gimp 2.10.18-4
add upgrade message on python plugin removal
Added:
gimp/trunk/gimp.install
Modified:
gimp/trunk/PKGBUILD
--------------+
PKGBUILD | 3 ++-
gimp.install | 8 ++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-19 16:13:57 UTC (rev 377931)
+++ PKGBUILD 2020-03-19 16:31:02 UTC (rev 377932)
@@ -3,7 +3,7 @@
pkgname=gimp
pkgver=2.10.18
-pkgrel=3
+pkgrel=4
pkgdesc='GNU Image Manipulation Program'
url='https://www.gimp.org/'
arch=('x86_64')
@@ -19,6 +19,7 @@
'ghostscript: for postscript support')
conflicts=('gimp-plugin-wavelet-decompose')
replaces=('gimp-plugin-wavelet-decompose')
+install=gimp.install
source=(https://download.gimp.org/pub/gimp/v${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
0001-no-check-update.patch
linux.gpl)
Added: gimp.install
===================================================================
--- gimp.install (rev 0)
+++ gimp.install 2020-03-19 16:31:02 UTC (rev 377932)
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+post_upgrade() {
+ if [[ $(vercmp '2.10.18-4' "$2") -eq 1 ]]; then
+ echo ' > The python2 plugin support is disabled, you will need to install this'
+ echo ' > separately if you need it, e.g. the python2-gimp package in the AUR.'
+ fi
+}
More information about the arch-commits
mailing list