[arch-commits] Commit in hunspell-en/repos/extra-any (PKGBUILD PKGBUILD)
Andreas Radke
andyrtr at archlinux.org
Thu Jan 28 09:26:41 UTC 2021
Date: Thursday, January 28, 2021 @ 09:26:40
Author: andyrtr
Revision: 406864
archrelease: copy trunk to extra-any
Added:
hunspell-en/repos/extra-any/PKGBUILD
(from rev 406863, hunspell-en/trunk/PKGBUILD)
Deleted:
hunspell-en/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 336 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 168 insertions(+), 168 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-28 09:26:31 UTC (rev 406863)
+++ PKGBUILD 2021-01-28 09:26:40 UTC (rev 406864)
@@ -1,168 +0,0 @@
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-
-pkgbase=hunspell-en
-pkgname=('hunspell-en_US' 'hunspell-en_AU' 'hunspell-en_CA' 'hunspell-en_GB')
-pkgver=2019.10.06
-pkgrel=1
-pkgdesc="English hunspell dictionaries"
-arch=(any)
-url="http://wordlist.aspell.net/dicts/"
-license=('LGPL' 'custom:scowl')
-makedepends=('qt5-webengine')
-optdepends=('hunspell: the spell checking libraries and apps')
-source=(http://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_US-large-$pkgver.zip
- http://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_AU-large-$pkgver.zip
- http://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_CA-large-$pkgver.zip
- http://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_GB-large-$pkgver.zip)
-sha1sums=('270cac9f07e6312266560cb4b63afb03a7d4f291'
- '364d66a4b0408e59b907ad4f973da67df2c72c49'
- '5690508ae35ce73ff2be72b2653688998d198c13'
- '29df2d06526302eeaee972d0a2121e2ac5f49c62')
-
-prepare() {
- sed -i "s:SET UTF8:SET UTF-8:g" *.aff
-}
-
-package_hunspell-en_US() {
- pkgdesc="US English hunspell dictionaries"
- replaces=('hunspell-en')
- conflicts=('hunspell-en')
-
- cd "$srcdir"
- install -dm755 ${pkgdir}/usr/share/hunspell
- install -m644 en_US*.dic en_US*.aff $pkgdir/usr/share/hunspell
-
- pushd $pkgdir/usr/share/hunspell/
- en_US_aliases="en_US"
- for lang in $en_US_aliases; do
- ln -s en_US-large.aff $lang.aff
- ln -s en_US-large.dic $lang.dic
- done
- popd
-
- # Install webengine dictionaries
- install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
- for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
- _filename=$(basename $_file)
- qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
- done
-
- # myspell 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
-
- # licenses
- install -D -m644 README_en_US-large.txt $pkgdir/usr/share/licenses/$pkgname/Copyright_en_US-large
-}
-
-package_hunspell-en_AU() {
- pkgdesc="AU English hunspell dictionaries"
- replaces=('hunspell-en')
- conflicts=('hunspell-en')
-
- cd "$srcdir"
- install -dm755 ${pkgdir}/usr/share/hunspell
- install -m644 en_AU*.dic en_AU*.aff $pkgdir/usr/share/hunspell
-
- pushd $pkgdir/usr/share/hunspell/
- en_AU_aliases="en_AU"
- for lang in $en_AU_aliases; do
- ln -s en_AU-large.aff $lang.aff
- ln -s en_AU-large.dic $lang.dic
- done
- popd
-
- # Install webengine dictionaries
- install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
- for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
- _filename=$(basename $_file)
- qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
- done
-
- # myspell 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
-
- # licenses
- install -D -m644 README_en_AU-large.txt $pkgdir/usr/share/licenses/$pkgname/Copyright_en_AU-large
-}
-
-package_hunspell-en_CA() {
- pkgdesc="CA English hunspell dictionaries"
- replaces=('hunspell-en')
- conflicts=('hunspell-en')
-
- cd "$srcdir"
- install -dm755 ${pkgdir}/usr/share/hunspell
- install -m644 en_CA*.dic en_CA*.aff $pkgdir/usr/share/hunspell
-
- pushd $pkgdir/usr/share/hunspell/
- en_CA_aliases="en_CA"
- for lang in $en_CA_aliases; do
- ln -s en_CA-large.aff $lang.aff
- ln -s en_CA-large.dic $lang.dic
- done
- popd
-
- # Install webengine dictionaries
- install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
- for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
- _filename=$(basename $_file)
- qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
- done
-
- # myspell 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
-
- # licenses
- install -D -m644 README_en_CA-large.txt $pkgdir/usr/share/licenses/$pkgname/Copyright_en_CA-large
-}
-
-package_hunspell-en_GB() {
- pkgdesc="GB English hunspell dictionaries"
- replaces=('hunspell-en')
- conflicts=('hunspell-en')
-
- cd "$srcdir"
- install -dm755 ${pkgdir}/usr/share/hunspell
- install -m644 en_GB*.dic en_GB*.aff $pkgdir/usr/share/hunspell
-
- pushd $pkgdir/usr/share/hunspell/
- en_GB_aliases="en_AG en_BS en_BW en_BZ en_DK en_GB en_GH en_HK en_IE en_IN en_JM en_NA en_NG en_NZ en_SG en_TT en_ZA en_ZW"
- for lang in $en_GB_aliases; do
- ln -s en_GB-large.aff $lang.aff
- ln -s en_GB-large.dic $lang.dic
- done
- popd
-
- # Install webengine dictionaries
- install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
- for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
- _filename=$(basename $_file)
- qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
- done
-
- # myspell 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
-
- # licenses
- install -D -m644 README_en_GB-large.txt $pkgdir/usr/share/licenses/$pkgname/Copyright_en_GB-large
-}
Copied: hunspell-en/repos/extra-any/PKGBUILD (from rev 406863, hunspell-en/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-28 09:26:40 UTC (rev 406864)
@@ -0,0 +1,168 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgbase=hunspell-en
+pkgname=('hunspell-en_US' 'hunspell-en_AU' 'hunspell-en_CA' 'hunspell-en_GB')
+pkgver=2020.12.07
+pkgrel=1
+pkgdesc="English hunspell dictionaries"
+arch=(any)
+url="http://wordlist.aspell.net/dicts/"
+license=('LGPL' 'custom:scowl')
+makedepends=('qt5-webengine')
+optdepends=('hunspell: the spell checking libraries and apps')
+source=(https://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_US-large-$pkgver.zip
+ https://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_AU-large-$pkgver.zip
+ https://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_CA-large-$pkgver.zip
+ https://downloads.sourceforge.net/project/wordlist/speller/$pkgver/hunspell-en_GB-large-$pkgver.zip)
+sha1sums=('8068323c87dcfefb7ea355d3cf941317be856be3'
+ '7a275138c4e40bc5395b700c79dd48c90b0c1f19'
+ 'f2c8ce104823bdd7fd5dc169958d63ec0d3a8dc7'
+ '7f1c16716e83fe961e7a98bb9789b9b3f4bcfb78')
+
+prepare() {
+ sed -i "s:SET UTF8:SET UTF-8:g" *.aff
+}
+
+package_hunspell-en_US() {
+ pkgdesc="US English hunspell dictionaries"
+ replaces=('hunspell-en')
+ conflicts=('hunspell-en')
+
+ cd "$srcdir"
+ install -dm755 ${pkgdir}/usr/share/hunspell
+ install -m644 en_US*.dic en_US*.aff $pkgdir/usr/share/hunspell
+
+ pushd $pkgdir/usr/share/hunspell/
+ en_US_aliases="en_US"
+ for lang in $en_US_aliases; do
+ ln -s en_US-large.aff $lang.aff
+ ln -s en_US-large.dic $lang.dic
+ done
+ popd
+
+ # Install webengine dictionaries
+ install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+ for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
+ _filename=$(basename $_file)
+ qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+ done
+
+ # myspell 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
+
+ # licenses
+ install -D -m644 README_en_US-large.txt $pkgdir/usr/share/licenses/$pkgname/Copyright_en_US-large
+}
+
+package_hunspell-en_AU() {
+ pkgdesc="AU English hunspell dictionaries"
+ replaces=('hunspell-en')
+ conflicts=('hunspell-en')
+
+ cd "$srcdir"
+ install -dm755 ${pkgdir}/usr/share/hunspell
+ install -m644 en_AU*.dic en_AU*.aff $pkgdir/usr/share/hunspell
+
+ pushd $pkgdir/usr/share/hunspell/
+ en_AU_aliases="en_AU"
+ for lang in $en_AU_aliases; do
+ ln -s en_AU-large.aff $lang.aff
+ ln -s en_AU-large.dic $lang.dic
+ done
+ popd
+
+ # Install webengine dictionaries
+ install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+ for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
+ _filename=$(basename $_file)
+ qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+ done
+
+ # myspell 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
+
+ # licenses
+ install -D -m644 README_en_AU-large.txt $pkgdir/usr/share/licenses/$pkgname/Copyright_en_AU-large
+}
+
+package_hunspell-en_CA() {
+ pkgdesc="CA English hunspell dictionaries"
+ replaces=('hunspell-en')
+ conflicts=('hunspell-en')
+
+ cd "$srcdir"
+ install -dm755 ${pkgdir}/usr/share/hunspell
+ install -m644 en_CA*.dic en_CA*.aff $pkgdir/usr/share/hunspell
+
+ pushd $pkgdir/usr/share/hunspell/
+ en_CA_aliases="en_CA"
+ for lang in $en_CA_aliases; do
+ ln -s en_CA-large.aff $lang.aff
+ ln -s en_CA-large.dic $lang.dic
+ done
+ popd
+
+ # Install webengine dictionaries
+ install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+ for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
+ _filename=$(basename $_file)
+ qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+ done
+
+ # myspell 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
+
+ # licenses
+ install -D -m644 README_en_CA-large.txt $pkgdir/usr/share/licenses/$pkgname/Copyright_en_CA-large
+}
+
+package_hunspell-en_GB() {
+ pkgdesc="GB English hunspell dictionaries"
+ replaces=('hunspell-en')
+ conflicts=('hunspell-en')
+
+ cd "$srcdir"
+ install -dm755 ${pkgdir}/usr/share/hunspell
+ install -m644 en_GB*.dic en_GB*.aff $pkgdir/usr/share/hunspell
+
+ pushd $pkgdir/usr/share/hunspell/
+ en_GB_aliases="en_AG en_BS en_BW en_BZ en_DK en_GB en_GH en_HK en_IE en_IN en_JM en_NA en_NG en_NZ en_SG en_TT en_ZA en_ZW"
+ for lang in $en_GB_aliases; do
+ ln -s en_GB-large.aff $lang.aff
+ ln -s en_GB-large.dic $lang.dic
+ done
+ popd
+
+ # Install webengine dictionaries
+ install -d "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+ for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
+ _filename=$(basename $_file)
+ qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+ done
+
+ # myspell 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
+
+ # licenses
+ install -D -m644 README_en_GB-large.txt $pkgdir/usr/share/licenses/$pkgname/Copyright_en_GB-large
+}
More information about the arch-commits
mailing list