diff options
author | dasbaumwolltier | 2019-03-06 16:19:49 +0100 |
---|---|---|
committer | dasbaumwolltier | 2019-03-06 16:19:49 +0100 |
commit | 4bebd2298610d8dc242c830980a21f9181168218 (patch) | |
tree | 2b9bf28405a5f4e8236401fbd0493d7ef098ab44 | |
parent | 0db4056efdf38b08f84c405fc85991557eb7fb8f (diff) | |
download | aur-4bebd2298610d8dc242c830980a21f9181168218.tar.gz |
Added post_install and post_remove help messages for git configuration
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | git-interactive-rebase-tool.install | 13 |
3 files changed, 19 insertions, 8 deletions
@@ -1,15 +1,14 @@ pkgbase = git-interactive-rebase-tool pkgdesc = Native cross platform full feature terminal based sequence editor for git interactive rebase. Written in Rust using ncurses. pkgver = 0.7.0 - pkgrel = 1 - url = https://gitrebasetool.mitmaro.ca/ + pkgrel = 2 + url = https://github.com/MitMaro/git-interactive-rebase-tool + install = git-interactive-rebase-tool.install arch = x86_64 license = ISC makedepends = rust makedepends = cargo depends = git - provides = git-interactive-rebase-tool - conflicts = git-interactive-rebase-tool source = git+https://github.com/MitMaro/git-interactive-rebase-tool.git sha256sums = SKIP @@ -2,15 +2,14 @@ pkgname=git-interactive-rebase-tool pkgver=0.7.0 -pkgrel=1 +pkgrel=2 pkgdesc='Native cross platform full feature terminal based sequence editor for git interactive rebase. Written in Rust using ncurses.' arch=('x86_64') -url='https://gitrebasetool.mitmaro.ca/' +url='https://github.com/MitMaro/git-interactive-rebase-tool' license=('ISC') depends=('git') makedepends=('rust' 'cargo') -provides=('git-interactive-rebase-tool') -conflicts=('git-interactive-rebase-tool') +install=$pkgname.install sha256sums=('SKIP') source=('git+https://github.com/MitMaro/git-interactive-rebase-tool.git') diff --git a/git-interactive-rebase-tool.install b/git-interactive-rebase-tool.install new file mode 100644 index 000000000000..ae37701bf6f0 --- /dev/null +++ b/git-interactive-rebase-tool.install @@ -0,0 +1,13 @@ +post_install() { + echo "" + echo "Configure git to use the rebase tool:" + echo "git config --global sequence.editor interactive-rebase-tool" + echo "" +} + +post_remove() { + echo "" + echo "You have to remove the tool from the git configuration:" + echo "git config --global --unset sequence.editor" + echo "" +} |