fix indent deoplete-git/PKGBUILD

This commit is contained in:
Trent Palmer 2017-12-25 00:18:05 -08:00
parent 9822a4097b
commit 84556ef2b5

View File

@ -21,15 +21,15 @@ noextract=()
md5sums=('SKIP') md5sums=('SKIP')
pkgver() { pkgver() {
cd "${srcdir}/${_name}" cd "${srcdir}/${_name}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
} }
package() { package() {
mkdir -p "$pkgdir/usr/share/nvim/site" mkdir -p "$pkgdir/usr/share/nvim/site"
cp -r "${srcdir}/${_name}/"{autoload,doc,plugin,rplugin} \ cp -r "${srcdir}/${_name}/"{autoload,doc,plugin,rplugin} \
"$pkgdir/usr/share/nvim/site" "$pkgdir/usr/share/nvim/site"
mkdir -p "$pkgdir/usr/share/doc/${pkgname}" mkdir -p "$pkgdir/usr/share/doc/${pkgname}"
cp -r "${srcdir}/${_name}/"{README.md,LICENSE} \ cp -r "${srcdir}/${_name}/"{README.md,LICENSE} \
"$pkgdir/usr/share/doc/${pkgname}" "$pkgdir/usr/share/doc/${pkgname}"
} }