blob: c5678c6b4571fb5925e8752093e605ac831a273a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Henrique Mayer <hmayer@gmail.com>
pkgname=zsh-thefuck-git
pkgver=r6.136b5a2
pkgrel=2
pkgdesc="ZSH plugin. Initialize thefuck with cache support"
arch=("any")
url="https://github.com/laggardkernel/zsh-thefuck"
license=('MIT')
depends=('thefuck' 'zsh')
makedepends=('git')
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("git+https://github.com/laggardkernel/zsh-thefuck.git")
sha512sums=('SKIP')
install=".install"
pkgver() {
cd "zsh-thefuck/"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/zsh-thefuck"
install -Dm 755 "init.zsh" "${pkgdir}/usr/share/zsh/plugins/${pkgname}/init.zsh"
install -Dm 755 "zsh-thefuck.plugin.zsh" "${pkgdir}/usr/share/zsh/plugins/${pkgname}/zsh-thefuck.plugin.zsh"
install -Dm 744 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|