aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Ronecker2019-01-21 11:49:23 +0100
committerPascal Ronecker2019-01-21 11:49:23 +0100
commiteffdb4657e35c6bbce9ea969a24b4ccfb3c837f2 (patch)
treeb3709d1613ff816f448c18e987365fa22a4eb824
parentb9b038eaeec1d56a002dc9a1eed3abcd8c4498d0 (diff)
downloadaur-effdb4657e35c6bbce9ea969a24b4ccfb3c837f2.tar.gz
Change install dir from /etc to /usr/lib, add conflicts array
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD3
-rw-r--r--README.md4
3 files changed, 7 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index da799a99b685..44f50b024ec0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,6 +7,7 @@ pkgbase = zsh-git-prompt-git
arch = i686
license = MIT
depends = python>=2.7.1
+ conflicts = zsh-git-prompt
source = zsh-git-prompt::git+https://github.com/starcraftman/zsh-git-prompt.git#branch=master
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 55bac28f3bee..f37079ac084f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,8 @@ arch=('x86_64' 'i686')
url="https://github.com/starcraftman/zsh-git-prompt.git"
license=('MIT')
depends=('python>=2.7.1')
-instdir=/etc/${pkgname%-git}
+conflicts=("zsh-git-prompt")
+instdir=/usr/lib/${pkgname%-git}
[[ $CARCH == 'x86_64' ]] && _arch='x64' || _arch='ia32'
diff --git a/README.md b/README.md
index 3a9bea69275e..f0bae08feb58 100644
--- a/README.md
+++ b/README.md
@@ -4,4 +4,8 @@ https://github.com/starcraftman/zsh-git-prompt
Please check documentation there; lots of useful information are available.
+Changed installation dir : now in /usr/lib/zsh-git-prompt-git
+
+To use : add `source /usr/lib/zsh-git-prompt/zshrc.sh` to your ~/.zshrc
+