[arch-commits] Commit in hunspell-hu/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Tue Dec 18 18:05:44 UTC 2018
Date: Tuesday, December 18, 2018 @ 18:05:44
Author: bgyorgy
Revision: 416671
upgpkg: hunspell-hu 1.7-1
Update to new version, adopt the package
Modified:
hunspell-hu/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++----------------
1 file changed, 22 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-18 17:58:14 UTC (rev 416670)
+++ PKGBUILD 2018-12-18 18:05:44 UTC (rev 416671)
@@ -1,32 +1,38 @@
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-# Contributor: György Balló <ballogy at freestart.hu>
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: AndyRTR <andyrtr at archlinux.org>
pkgname=hunspell-hu
-pkgver=1.6.1
-pkgrel=5
+pkgver=1.7
+_lo_ver=6.1.4
+pkgrel=1
pkgdesc="Hungarian hunspell dictionary"
-arch=('any')
-url="http://extensions.services.openoffice.org/project/hu_dicts"
-license=('LGPL' 'GPL' 'MPL')
+arch=(any)
+url="http://magyarispell.sourceforge.net/"
+license=(LGPL GPL MPL)
optdepends=('hunspell: the spell checking libraries and apps')
-source=(http://pkgs.fedoraproject.org/repo/pkgs/mythes-hu/dict-hu.oxt/d320e43e815c2dfd599dbfb7cd0e41fb/dict-hu.oxt)
-sha512sums=('4ead8e4075fffb8100a121e7bbd56f73f6c25a827bf0c6647441d5f106ea6287882a7b0cdb9e1c0968baf636a0f8334992a76b0c8198b3fbc7c13db97e3c9f3d')
+source=(https://download.documentfoundation.org/libreoffice/stable/${_lo_ver}/rpm/x86_64/LibreOffice_${_lo_ver}_Linux_x86-64_rpm_langpack_hu.tar.gz{,.asc})
+validpgpkeys=('C2839ECAD9408FBE9531C3E9F434A1EFAFEEAEA3') # "LibreOffice Build Team (CODE SIGNING KEY) <build at documentfoundation.org>"
+sha256sums=('93f8b987189a0ac52cbee9eaca74597e059479a43604b3d3ec409072909e3ab3'
+ 'SKIP')
+prepare() {
+ bsdtar -x -f LibreOffice_*_Linux_x86-64_rpm_langpack_hu/RPMS/libreoffice*-dict-hu-*.x86_64.rpm
+}
package() {
- cd "$srcdir"
- install -dm755 ${pkgdir}/usr/share/hunspell
- install -m644 -t $pkgdir/usr/share/hunspell hu_HU.dic hu_HU.aff
+ cd opt/libreoffice*/share/extensions/dict-hu/
+ install -dm755 "$pkgdir/usr/share/hunspell"
+ install -m644 -t "$pkgdir/usr/share/hunspell" hu_HU.dic hu_HU.aff
# the symlinks
- install -dm755 ${pkgdir}/usr/share/myspell/dicts
- pushd $pkgdir/usr/share/myspell/dicts
- for file in $pkgdir/usr/share/hunspell/*; do
+ 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 -Dm644 README_hu_HU.txt $pkgdir/usr/share/doc/$pkgname/README_hu_HU.txt
+ install -Dm644 README_hu_HU.txt "$pkgdir/usr/share/doc/$pkgname/README_hu_HU.txt"
}
More information about the arch-commits
mailing list