From e24698f7f6ba7fa378bb0c7aea47fee33e8e164b Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Wed, 27 Dec 2017 22:44:32 -0800 Subject: [PATCH] modified: deoplete-git/PKGBUILD ... more install and less cp --- deoplete-git/PKGBUILD | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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 }