diff options
author | Musikolo | 2018-10-29 23:23:56 -0500 |
---|---|---|
committer | Musikolo | 2018-10-29 23:23:56 -0500 |
commit | c3c0a04fc9eeb2cde6c16441bfa1143dbd688140 (patch) | |
tree | 44e49cbf6a7595a686f363f8bc94dbd962aebc1b | |
parent | 3b3208f6fa6c01f7314bcdaa35c86b7e35719fe6 (diff) | |
download | aur-c3c0a04fc9eeb2cde6c16441bfa1143dbd688140.tar.gz |
Add post-install message for bcompare-kde5 to explain how to make it work
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | bcompare-kde5.install | 21 |
3 files changed, 26 insertions, 3 deletions
@@ -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 @@ -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 000000000000..57c0300c002f --- /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 +} |