summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTrần Nam Tuấn2022-08-30 21:42:59 +0700
committerTrần Nam Tuấn2022-08-30 21:42:59 +0700
commit492826fef9bcfba994c4962b047c416b6c312ae7 (patch)
treedc1c734becf6837f1374227074d4acec9247d698 /PKGBUILD
parente17c17718f51dea3d6d7ae127bb79e609b936cd5 (diff)
downloadaur-492826fef9bcfba994c4962b047c416b6c312ae7.tar.gz
Remove dependency of hunspell-vi-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 4 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0c18e2622e30..8f0dfe24b656 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,12 +5,12 @@ _extname='vietnamese-spellchecker'
provides=('libreoffice-extension-vietnamese-spellchecker')
conflicts=('libreoffice-extension-vietnamese-spellchecker')
pkgver=2.2.0.r35.g507d07e
-pkgrel=1
+pkgrel=2
pkgdesc="Vietnamese spellchecker extension for LibreOffice"
arch=('x86_64')
url="https://github.com/1ec5/hunspell-vi.git"
license=('GPL3')
-depends=('libreoffice' 'hunspell-vi-git')
+depends=('libreoffice')
source=("git+${url}")
sha256sums=('SKIP')
@@ -38,13 +38,10 @@ package() {
install -D -m644 "openoffice/3.x/LICENSES-en.txt" \
"${pkgdir}/usr/lib/libreoffice/share/extensions/${_extname}/LICENSES-en.txt"
- # Link dictionaries from hunspell-vi
- install -d -m755 "${pkgdir}/usr/lib/libreoffice/share/extensions/${_extname}/dictionaries"
-
- ln -s "/usr/share/hunspell/vi_VN.dic" \
+ install -D -m644 "dictionaries/vi-DauMoi.dic" \
"${pkgdir}/usr/lib/libreoffice/share/extensions/${_extname}/dictionaries/vi_VN.dic"
- ln -s "/usr/share/hunspell/vi_VN.aff" \
+ install -D -m644 "dictionaries/vi-DauMoi.aff" \
"${pkgdir}/usr/lib/libreoffice/share/extensions/${_extname}/dictionaries/vi_VN.aff"
# Apply version number to files