summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruna Bazaluk M. V2019-08-15 20:40:25 -0300
committerBruna Bazaluk M. V2019-08-15 20:51:47 -0300
commit64f175f39b1af079574159769c7dce80cc4cf644 (patch)
treee6405d8a1aeb9173339b046d79856e6c4dccbb71
parent950f75022aae838ce5a6f9087a1edb8ef89264b1 (diff)
downloadaur-64f175f39b1af079574159769c7dce80cc4cf644.tar.gz
Fix post installation message and typo
Typo at function package() from PKGBUILD. Signed-off-by: Bruna Bazaluk M. V <bazaluk@riseup.net>
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
-rw-r--r--kw.install5
3 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 81edbc5117f..8a8fd42d888 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = kworkflow-git
- pkgdesc = Scripts that help setup infra for kernel development.
+ pkgdesc = Scripts that help setting up infra for kernel development.
pkgver = 0.7
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/rodrigosiqueira/kworkflow
install = kw.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 3f3e0dec64c..2963536fa77 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@ pkgname=kworkflow-git
_gitname=kworkflow
_lpkg="${_gitname,,}"
pkgver=0.7
-pkgrel=1
-pkgdesc="Scripts that help setup infra for kernel development."
+pkgrel=2
+pkgdesc="Scripts that help setting up infra for kernel development."
arch=('x86_64')
url="https://github.com/rodrigosiqueira/kworkflow"
source=("git+https://github.com/rodrigosiqueira/kworkflow.git")
@@ -32,6 +32,6 @@ package() {
mkdir -p "$pkgdir$HOME/.kworkflow"
cp -r * "$pkgdir$HOME/.kworkflow/"
mkdir -p "$pkgdir/usr/bin"
- ln -s "$HOME/.kworkflow/kw" "$pkgdir/usr/bin/kworkflow"
+ ln -s "$HOME/.kw/kw" "$pkgdir/usr/bin/kworkflow"
}
install="kw.install"
diff --git a/kw.install b/kw.install
index ba3c5f8bd77..e245e68a92f 100644
--- a/kw.install
+++ b/kw.install
@@ -1,4 +1,5 @@
post_install() {
- echo "Append these to your .bashrc to enable autocomplete:PATH=$PATH:/home/<user>/.config/kw
-source /home/<user>/.config/kw/src/bash_autocomplete.sh"
+ echo 'Append these to your .bashrc to enable autocomplete:'
+ echo "PATH=\$PATH:$HOME/.config/kw"
+ echo "source $HOME/.config/kw/src/bash_autocomplete.sh"
}