[arch-commits] Commit in i3blocks/trunk (PKGBUILD i3blocks.install)

Christian Rebischke shibumi at archlinux.org
Mon Sep 9 01:22:09 UTC 2019


    Date: Monday, September 9, 2019 @ 01:22:09
  Author: shibumi
Revision: 509031

upgpkg: i3blocks 1.5-3

This fixes #63690:
	added i3blocks.install file for informing users about missing additional scripts.

Added:
  i3blocks/trunk/i3blocks.install
Modified:
  i3blocks/trunk/PKGBUILD

------------------+
 PKGBUILD         |    3 ++-
 i3blocks.install |    8 ++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-08 23:12:08 UTC (rev 509030)
+++ PKGBUILD	2019-09-09 01:22:09 UTC (rev 509031)
@@ -5,7 +5,7 @@
 
 pkgname=i3blocks
 pkgver=1.5
-pkgrel=2
+pkgrel=3
 pkgdesc='Define blocks for your i3bar status line'
 arch=('x86_64')
 groups=('i3')
@@ -17,6 +17,7 @@
 sha512sums=('SKIP')
 backup=('etc/i3blocks.conf')
 validpgpkeys=('44C919BDF206CFDC49C7101A66C63FBDFD79670A')
+install=i3blocks.install
 
 build () {
   cd "${pkgname}-${pkgver}"

Added: i3blocks.install
===================================================================
--- i3blocks.install	                        (rev 0)
+++ i3blocks.install	2019-09-09 01:22:09 UTC (rev 509031)
@@ -0,0 +1,8 @@
+post_upgrade() {
+  if (($(vercmp 1.5-3 $2) > 0)); then
+    echo ""
+    echo "  i3blocks-1.5-1 removed any additional scripts."
+    echo "  If you need them, clone https://github.com/vivien/i3blocks-contrib"
+    echo ""
+  fi
+}



More information about the arch-commits mailing list