summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMusikolo2018-10-29 23:23:56 -0500
committerMusikolo2018-10-29 23:23:56 -0500
commitc3c0a04fc9eeb2cde6c16441bfa1143dbd688140 (patch)
tree44e49cbf6a7595a686f363f8bc94dbd962aebc1b
parent3b3208f6fa6c01f7314bcdaa35c86b7e35719fe6 (diff)
downloadaur-c3c0a04fc9eeb2cde6c16441bfa1143dbd688140.tar.gz
Add post-install message for bcompare-kde5 to explain how to make it work
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD3
-rw-r--r--bcompare-kde5.install21
3 files changed, 26 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d654f61fa3..2441f269a12 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Tue Oct 30 03:53:49 UTC 2018
+# Tue Oct 30 04:22:58 UTC 2018
pkgbase = bcompare
pkgver = 4.2.8.23479
- pkgrel = 1
+ pkgrel = 2
url = http://www.scootersoftware.com
arch = i686
arch = x86_64
@@ -35,6 +35,7 @@ pkgname = bcompare
pkgname = bcompare-kde5
pkgdesc = KDE Plasma 5 service menus for Beyond Compare 4
+ install = bcompare-kde5.install
depends = bcompare
pkgname = bcompare-kde4
diff --git a/PKGBUILD b/PKGBUILD
index f3a27e6885d..4fe9458a5c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,7 @@
pkgbase=bcompare
pkgname=('bcompare' 'bcompare-kde5' 'bcompare-kde4' 'bcompare-nautilus' 'bcompare-thunar' 'bcompare-cinnamon' 'bcompare-mate')
pkgver=4.2.8.23479
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.scootersoftware.com'
license=('custom')
@@ -117,6 +117,7 @@ package_bcompare() {
package_bcompare-kde5() {
pkgdesc="KDE Plasma 5 service menus for Beyond Compare 4"
depends=('bcompare')
+ install=${pkgbase}-kde5.install
msg2 "Packaging KDE Plasma 5 service menus..."
_install_dir="${srcdir}/install"
diff --git a/bcompare-kde5.install b/bcompare-kde5.install
new file mode 100644
index 00000000000..57c0300c002
--- /dev/null
+++ b/bcompare-kde5.install
@@ -0,0 +1,21 @@
+# Colored makepkg-like functions by Det
+msg_blue() {
+ printf "${blue}==>${bold} $1${all_off}\n"
+}
+
+note() {
+ printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n"
+}
+
+all_off="$(tput sgr0)"
+bold="${all_off}$(tput bold)"
+blue="${bold}$(tput setaf 4)"
+yellow="${bold}$(tput setaf 3)"
+
+post_install() {
+ note "It is necessary to enable 'File Manager Integration' under 'Tools' -> 'Options' from Beyond Compare interface."
+}
+
+post_upgrade() {
+ post_install
+}