From f97741bcd209dca18a01883ec4e53125f23db9ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 18 Apr 2024 08:13:39 +0700 Subject: [PATCH] New package: hunspell-qtwebengine-dict-0.1 --- srcpkgs/hunspell-qtwebengine-dict/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/hunspell-qtwebengine-dict/template 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 +}