diff --git a/srcpkgs/hunspell-qtwebengine-dict/template b/srcpkgs/hunspell-qtwebengine-dict/template new file mode 100644 index 00000000000..4bd31be6d80 --- /dev/null +++ b/srcpkgs/hunspell-qtwebengine-dict/template @@ -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 " +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 +}