New package: hunspell-qtwebengine-dict-0.1

This commit is contained in:
Đoàn Trần Công Danh 2024-04-18 08:13:39 +07:00
parent 5cca894412
commit f97741bcd2
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# Template file for 'hunspell-qtwebengine-dict'
pkgname=hunspell-qtwebengine-dict
version=0.1
revision=1
short_desc="Base layout for binary dictionaries of QtWebEngine"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="BSD-2-Clause" # Suppress xlint warning: vlicense
homepage="https://voidlinux.org"
replaces="libreoffice-qtwebengine-dict>=0"
provides="libreoffice-qtwebengine-dict-24.2.2.2_1"
do_install() {
vmkdir usr/share/qt5
vmkdir usr/share/qt6
rm -rf $PKGDESTDIR/usr/share/qt{5,6}/qtwebengine_dictionaries
ln -sf ../hunspell-bdic \
$PKGDESTDIR/usr/share/qt5/qtwebengine_dictionaries
ln -sf ../hunspell-bdic \
$PKGDESTDIR/usr/share/qt6/qtwebengine_dictionaries
}