[arch-commits] Commit in hunspell-nl/repos/community-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri Feb 12 22:57:00 UTC 2021
Date: Friday, February 12, 2021 @ 22:57:00
Author: jelle
Revision: 857037
archrelease: copy trunk to community-any
Added:
hunspell-nl/repos/community-any/PKGBUILD
(from rev 857036, hunspell-nl/trunk/PKGBUILD)
Deleted:
hunspell-nl/repos/community-any/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-12 22:56:52 UTC (rev 857036)
+++ PKGBUILD 2021-02-12 22:57:00 UTC (rev 857037)
@@ -1,54 +0,0 @@
-# Maintainer: Sarkasper <echo a2FzcGVyLm1lbnRlbkBnbXguY29tCg== | base64 -d>
-# Contributor: Jelle van der Waa <jelle at vdwaa nl>
-
-pkgname=hunspell-nl
-pkgver=2.10g
-pkgrel=5
-pkgdesc="Dutch hunspell dictionaries"
-arch=('any')
-url="https://www.opentaal.org/"
-license=('BSD' 'custom:Creative Commons, Attribution 3.0 Unported')
-depends=('hunspell')
-optdepends=('hunspell: the spell checking libraries and apps')
-makedepends=('unzip' 'qt5-webengine')
-# Upstream source http://opentaal.org/bestanden/license_result/20-woordenlijst-v-210g-voor-openofficeorg-3?bid=20&agree=1
-source=('https://sources.archlinux.org/other/community/hunspell-nl/OpenTaal-210G-LO.oxt')
-md5sums=('3c96686c2555e3ae23b5de06ba08631b')
-
-package() {
- cd "${srcdir}"
- install -dm755 "${pkgdir}/usr/share/hunspell"
- install -m644 nl_NL.dic "${pkgdir}/usr/share/hunspell/nl_NL.dic"
- install -m644 nl_NL.aff "${pkgdir}/usr/share/hunspell/nl_NL.aff"
-
- pushd "${pkgdir}/usr/share/hunspell/"
- nl_NL_aliases="nl_AW nl_BE"
- for lang in $nl_NL_aliases; do
- ln -s nl_NL.aff $lang.aff
- ln -s nl_NL.dic $lang.dic
- done
- popd
-
- # the symlinks
- install -dm755 "${pkgdir}/usr/share/myspell/dicts"
- pushd "${pkgdir}/usr/share/myspell/dicts"
- for file in ${pkgdir}/usr/share/hunspell/*; do
- ln -sv /usr/share/hunspell/$(basename $file) .
- done
- popd
-
- # docs
- install -dm755 "${pkgdir}/usr/share/doc/${pkgname}"
- install -m644 README_nl_NL.txt "${pkgdir}/usr/share/doc/${pkgname}"
-
- # licences
- install -D -m644 license_en_EN.txt $pkgdir/usr/share/licenses/$pkgname/license_en_EN.txt
-
- # Install webengine dictionaries
- install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
- qwebengine_convert_dict "$pkgdir"/usr/share/hunspell/nl_NL.dic "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/nl_NL.bdic
- cd "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
- for lang in $nl_NL_aliases; do
- ln -s nl_NL.bdic $lang.bdic
- done
-}
Copied: hunspell-nl/repos/community-any/PKGBUILD (from rev 857036, hunspell-nl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-12 22:57:00 UTC (rev 857037)
@@ -0,0 +1,54 @@
+# Maintainer: Sarkasper <echo a2FzcGVyLm1lbnRlbkBnbXguY29tCg== | base64 -d>
+# Contributor: Jelle van der Waa <jelle at vdwaa nl>
+
+pkgname=hunspell-nl
+pkgver=2.20.19
+pkgrel=1
+pkgdesc="Dutch hunspell dictionaries"
+arch=('any')
+url="https://www.opentaal.org/"
+license=('BSD' 'custom:Creative Commons, Attribution 3.0 Unported')
+depends=('hunspell')
+optdepends=('hunspell: the spell checking libraries and apps')
+makedepends=('unzip' 'qt5-webengine')
+# Upstream source http://opentaal.org/bestanden/license_result/20-woordenlijst-v-210g-voor-openofficeorg-3?bid=20&agree=1
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/OpenTaal/opentaal-hunspell/archive/${pkgver}.tar.gz)
+sha512sums=('19e93421da7096259c18f69dadcf49a2d9f16890edd8474ee226a39ae344803bfe4d3b952669fb1d42dcc28aed36582468f7a92c3289db18e2284be3f4889f40')
+
+package() {
+ cd opentaal-hunspell-${pkgver}
+ install -dm755 "${pkgdir}"/usr/share/hunspell
+ install -m644 nl.dic "${pkgdir}"/usr/share/hunspell/nl_NL.dic
+ install -m644 nl.aff "${pkgdir}"/usr/share/hunspell/nl_NL.aff
+
+ pushd "${pkgdir}"/usr/share/hunspell/
+ nl_NL_aliases="nl_AW nl_BE"
+ for lang in ${nl_NL_aliases}; do
+ ln -s nl_NL.aff ${lang}.aff
+ ln -s nl_NL.dic ${lang}.dic
+ done
+ popd
+
+ # the symlinks
+ install -dm755 "${pkgdir}"/usr/share/myspell/dicts
+ pushd "${pkgdir}"/usr/share/myspell/dicts
+ for file in "${pkgdir}"/usr/share/hunspell/*; do
+ ln -sv /usr/share/hunspell/$(basename ${file}) .
+ done
+ popd
+
+ # docs
+ install -dm755 "${pkgdir}"/usr/share/doc/${pkgname}
+ install -m644 README.md "${pkgdir}"/usr/share/doc/${pkgname}
+
+ # licences
+ install -D -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
+
+ # Install webengine dictionaries
+ install -d "${pkgdir}"/usr/share/qt/qtwebengine_dictionaries/
+ qwebengine_convert_dict "${pkgdir}"/usr/share/hunspell/nl_NL.dic "${pkgdir}"/usr/share/qt/qtwebengine_dictionaries/nl_NL.bdic
+ cd "${pkgdir}"/usr/share/qt/qtwebengine_dictionaries/
+ for lang in ${nl_NL_aliases}; do
+ ln -s nl_NL.bdic ${lang}.bdic
+ done
+}
More information about the arch-commits
mailing list