blob: a04641643ef7916928fd400d1461662db9e2fec4 (
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
30
31
32
33
34
|
# Maintainer: seth <getchoo at tuta dot io>
pkgname=zsh-antidote
_pkgname=antidote
pkgver=1.5.1
pkgrel=1
pkgdesc="the cure to slow zsh plugin management"
arch=(any)
url="https://getantidote.github.io/"
license=('MIT')
depends=('zsh' 'git')
install=zsh-antidote.install
source=(
"${_pkgname}-${pkgver}.tar.gz::https://github.com/mattmc3/antidote/archive/refs/tags/v${pkgver}.tar.gz"
"0001-no-self-updating.patch"
)
sha256sums=('7951f6b8b2ac6386f5d75c531e3618deda6ad2e80737d49aa5888a84f1dd89c1'
'f45a3380864145f31ba1f9ce771f156f104e5b70dae1d1de46ba5177cdc4e88e')
prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
patch -p1 -i "${srcdir}/0001-no-self-updating.patch"
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
install -Dm0644 -t "${pkgdir}/usr/share/${pkgname}/" "${_pkgname}.zsh"
cp -r functions/ "${pkgdir}/usr/share/${pkgname}/"
install -Dm0644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
}
# nvim: set ts=2 sw=2 et:
|