diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | zsh-you-should-use.install | 6 |
3 files changed, 10 insertions, 9 deletions
@@ -1,8 +1,9 @@ pkgbase = zsh-you-should-use pkgdesc = ZSH plugin that reminds you to use existing aliases for commands you just typed pkgver = 0.4.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/MichaelAquilina/zsh-you-should-use + install = zsh-you-should-use.install arch = any license = GPL3 source = https://github.com/MichaelAquilina/zsh-you-should-use/archive/0.4.2.tar.gz @@ -2,12 +2,13 @@ pkgname="zsh-you-should-use" pkgver=0.4.2 -pkgrel=1 +pkgrel=2 pkgdesc="ZSH plugin that reminds you to use existing aliases for commands you just typed" url="https://github.com/MichaelAquilina/zsh-you-should-use" arch=("any") license=("GPL3") source=("https://github.com/MichaelAquilina/${pkgname}/archive/${pkgver}.tar.gz") +install="${pkgname}.install" sha256sums=("5db7415e16c914fb38e4dc48e4d17f5d4ac5ac5c38135484cf98d4dc31fb6338") package() { @@ -19,10 +20,3 @@ package() { install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE" \ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } - -post_install() { - cat << EOF -To activate zsh-you-should-use add the following line at the end of ~/.zshrc: - source /usr/share/zsh/plugins/zsh-you-should-use/you-should-use.plugin.zsh -EOF -} diff --git a/zsh-you-should-use.install b/zsh-you-should-use.install new file mode 100644 index 000000000000..a9105de32958 --- /dev/null +++ b/zsh-you-should-use.install @@ -0,0 +1,6 @@ +post_install() { + cat << EOF +To activate zsh-you-should-use add the following line at the end of ~/.zshrc: + source /usr/share/zsh/plugins/zsh-you-should-use/you-should-use.plugin.zsh +EOF +} |