summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSainnhepark2020-07-30 10:40:49 +0800
committerSainnhepark2020-07-30 10:40:49 +0800
commit7130d9a8cb2d12f94787fa7300a97a17d9505fa4 (patch)
tree7dd72e468c71e38daebf9925697a5b4ee4e00f3e
parentfc236349a008be9d3234ce6c3383f46bae75394a (diff)
downloadaur-7130d9a8cb2d12f94787fa7300a97a17d9505fa4.tar.gz
fix path
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5de1c9923b8..032a5c67e93 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -23,6 +23,7 @@ pkgname = vim-airline-onedark-git
depends = vim-onedark
provides = vim-airline-onedark
conflicts = vim-airline-onedark
+ conflicts = vim-airline-themes
pkgname = vim-lightline-onedark-git
pkgdesc = OneDark color scheme for lightline.
diff --git a/PKGBUILD b/PKGBUILD
index a7865861e0a..111daed6c1e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,7 +29,7 @@ package_vim-onedark-git() {
conflicts=("${_pkgbase}")
cd "${srcdir}/${_pkgbase}"
find autoload/onedark.vim colors -type f -exec \
- install -Dm 644 '{}' "${pkgdir}/usr/share/vim/vimfiles/pack/${_pkgbase}/start/${_pkgbase}/{}" \;
+ install -Dm 644 '{}' "${pkgdir}/usr/share/vim/vimfiles/{}" \;
install -Dm 644 "${srcdir}/${_pkgbase}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE.md"
}
@@ -39,9 +39,9 @@ package_vim-airline-onedark-git() {
depends=('vim' 'vim-airline' 'vim-onedark')
_pkgname=vim-airline-onedark
provides=('vim-airline-onedark')
- conflicts=('vim-airline-onedark')
+ conflicts=('vim-airline-onedark' 'vim-airline-themes')
cd "${srcdir}/${_pkgbase}"
- install -Dm 644 "${srcdir}/${_pkgbase}/autoload/airline/themes/onedark.vim" "${pkgdir}/usr/share/vim/vimfiles/pack/${_pkgbase}/start/${_pkgbase}/autoload/airline/themes/onedark.vim"
+ install -Dm 644 "${srcdir}/${_pkgbase}/autoload/airline/themes/onedark.vim" "${pkgdir}/usr/share/vim/vimfiles/autoload/airline/themes/onedark.vim"
}
package_vim-lightline-onedark-git() {
@@ -51,5 +51,5 @@ package_vim-lightline-onedark-git() {
provides=('vim-lightline-onedark')
conflicts=('vim-lightline-onedark')
cd "${srcdir}/${_pkgbase}"
- install -Dm 644 "${srcdir}/${_pkgbase}/autoload/lightline/colorscheme/onedark.vim" "${pkgdir}/usr/share/vim/vimfiles/pack/${_pkgbase}/start/${_pkgbase}/autoload/lightline/colorscheme/onedark.vim"
+ install -Dm 644 "${srcdir}/${_pkgbase}/autoload/lightline/colorscheme/onedark.vim" "${pkgdir}/usr/share/vim/vimfiles/autoload/lightline/colorscheme/onedark.vim"
}