# Maintainer: seth 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: