[arch-commits] Commit in hspell/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Oct 1 19:33:39 UTC 2021
Date: Friday, October 1, 2021 @ 19:33:39
Author: arojas
Revision: 425012
archrelease: copy trunk to extra-x86_64
Added:
hspell/repos/extra-x86_64/PKGBUILD
(from rev 425011, hspell/trunk/PKGBUILD)
Deleted:
hspell/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 123 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 62 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-01 19:33:29 UTC (rev 425011)
+++ PKGBUILD 2021-10-01 19:33:39 UTC (rev 425012)
@@ -1,61 +0,0 @@
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgbase=hspell
-pkgname=('hspell' 'hunspell-he')
-pkgver=1.4
-pkgrel=3
-arch=('x86_64')
-license=('GPL')
-url="http://www.ivrix.org.il/projects/spell-checker/"
-makedepends=('glibc' 'zlib' 'perl' 'hunspell' 'gawk' 'qt5-webengine')
-options=('!makeflags')
-source=(http://hspell.ivrix.org.il/${pkgname}-${pkgver}.tar.gz{,.sig})
-sha256sums=('7310f5d58740d21d6d215c1179658602ef7da97a816bc1497c8764be97aabea3'
- 'SKIP')
-validpgpkeys=('996512CD85DC510BD45EAD46415E26D84D4E37DB')
-
-build() {
- cd ${pkgname}-${pkgver}
- export PERLLIB="$PWD"
- ./configure --prefix=/usr --mandir=/usr/share/man \
- --enable-linginfo --enable-fatverb --enable-shared
- make
- make hunspell
-}
-
-package_hspell() {
-
- pkgdesc="Hebrew spell-checker"
- depends=('glibc' 'zlib' 'perl')
-
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
-
- rm -f ${pkgdir}/usr/lib/libhspell.a
-}
-
-package_hunspell-he() {
-
- pkgdesc="Hebrew hunspell dictionary"
-
- cd ${pkgbase}-${pkgver}
-
- install -dm755 "$pkgdir"/usr/share/hunspell
- install -m644 he.dic "$pkgdir"/usr/share/hunspell/he_IL.dic
- install -m644 he.aff "$pkgdir"/usr/share/hunspell/he_IL.aff
-
- # 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
-
-# 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
-}
Copied: hspell/repos/extra-x86_64/PKGBUILD (from rev 425011, hspell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-01 19:33:39 UTC (rev 425012)
@@ -0,0 +1,62 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgbase=hspell
+pkgname=('hspell' 'hunspell-he')
+pkgver=1.4
+pkgrel=4
+arch=('x86_64')
+license=('GPL')
+url="http://www.ivrix.org.il/projects/spell-checker/"
+makedepends=('glibc' 'zlib' 'perl' 'hunspell' 'gawk' 'qt6-webengine')
+options=('!makeflags')
+source=(http://hspell.ivrix.org.il/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha256sums=('7310f5d58740d21d6d215c1179658602ef7da97a816bc1497c8764be97aabea3'
+ 'SKIP')
+validpgpkeys=('996512CD85DC510BD45EAD46415E26D84D4E37DB')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ export PERLLIB="$PWD"
+ ./configure --prefix=/usr --mandir=/usr/share/man \
+ --enable-linginfo --enable-fatverb --enable-shared
+ make
+ make hunspell
+}
+
+package_hspell() {
+
+ pkgdesc="Hebrew spell-checker"
+ depends=('glibc' 'zlib' 'perl')
+
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ rm -f "${pkgdir}"/usr/lib/libhspell.a
+}
+
+package_hunspell-he() {
+
+ pkgdesc="Hebrew hunspell dictionary"
+
+ cd ${pkgbase}-${pkgver}
+
+ install -dm755 "$pkgdir"/usr/share/hunspell
+ install -m644 he.dic "$pkgdir"/usr/share/hunspell/he_IL.dic
+ install -m644 he.aff "$pkgdir"/usr/share/hunspell/he_IL.aff
+
+ # 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
+
+# Install webengine dictionaries
+ install -d "$pkgdir"/usr/share/qt{,6}/qtwebengine_dictionaries/
+ for _file in "$pkgdir"/usr/share/hunspell/*.dic; do
+ _filename=$(basename $_file)
+ /usr/lib/qt6/qwebengine_convert_dict $_file "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/${_filename/\.dic/\.bdic}
+ ln -rs "$pkgdir"/usr/share/qt6/qtwebengine_dictionaries/${_filename/\.dic/\.bdic} "$pkgdir"/usr/share/qt/qtwebengine_dictionaries/
+ done
+}
More information about the arch-commits
mailing list