diff --git a/deoplete-git/PKGBUILD b/deoplete-git/PKGBUILD index d836cee..46d9f32 100644 --- a/deoplete-git/PKGBUILD +++ b/deoplete-git/PKGBUILD @@ -29,10 +29,7 @@ package() { mkdir -p "$pkgdir/usr/share/nvim/runtime" cp -r "${srcdir}/${_name}/"{autoload,doc,plugin,rplugin} \ "$pkgdir/usr/share/nvim/runtime" - mkdir -p "$pkgdir/usr/share/doc/${pkgname}" - cp "${srcdir}/${_name}/"README.md \ - "$pkgdir/usr/share/doc/${pkgname}" - mkdir -p "$pkgdir/usr/share/licenses/${pkgname}" - cp "${srcdir}/${_name}/"LICENSE \ - "$pkgdir/usr/share/licenses/${pkgname}" + + install -D -m644 "${srcdir}/${_name}/README.md" $pkgdir/usr/share/doc/$pkgname/README.md + install -D -m644 "${srcdir}/${_name}/LICENSE" $pkgdir/usr/share/licenses/$pkgname/LICENSE }