blob: 668ae0685b61d854f69f9d79cf2c2b82f75066d5 (
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
|
# Maintainer: Yufan You <ouuansteve at gmail>
pkgname=nvim-packer-git
pkgver=r370.3715ce4
pkgrel=1
pkgdesc='A use-package inspired plugin manager for Neovim.'
arch=('any')
url='https://github.com/wbthomason/packer.nvim'
_reponame="${url##*/}"
license=('MIT')
depends=('neovim')
makedepends=('git')
source=("git+${url}")
sha256sums=('SKIP')
pkgver() {
cd "${_reponame}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${_reponame}"
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
find doc lua -type f -exec install -Dm 644 "{}" "${pkgdir}/usr/share/nvim/site/pack/packer/start/packer.nvim/{}" \;
}
|