summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD15
2 files changed, 10 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 75637921026..cbc7ee363d4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = hunspell-nb
pkgdesc = Spell checking support for Norwegian
- pkgver = 2.2
- pkgrel = 2
+ pkgver = 6.1.3.2
+ pkgrel = 1
url = http://no.speling.org/
arch = any
license = GPL
depends = hunspell
- source = https://alioth-archive.debian.org/releases/spell-norwegian/spell-norwegian/2.2/no_NO-pack2-2.2.zip
- md5sums = 256d6fe2ea5f1842090d7d05e90c5383
+ source = https://download.documentfoundation.org/libreoffice/src/6.1.3/libreoffice-dictionaries-6.1.3.2.tar.xz
+ md5sums = 716e3e91be00cee5f1c4fac15d94a867
pkgname = hunspell-nb
diff --git a/PKGBUILD b/PKGBUILD
index 76dbd19c399..61ff0e2a552 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,25 @@
# Maintainer: Martin Sandsmark <martin.sandsmark@kde.org>
pkgname=hunspell-nb
-pkgver=2.2
-pkgrel=2
+_LOver=6.1.3
+pkgver=6.1.3.2
+pkgrel=1
pkgdesc='Spell checking support for Norwegian'
arch=('any')
url='http://no.speling.org/'
license=('GPL')
depends=('hunspell')
-source=("https://alioth-archive.debian.org/releases/spell-norwegian/spell-norwegian/2.2/no_NO-pack2-2.2.zip")
-
-build() {
- unzip nb_NO.zip
-}
+source=("https://download.documentfoundation.org/libreoffice/src/${_LOver}/libreoffice-dictionaries-${pkgver}.tar.xz")
+md5sums=('716e3e91be00cee5f1c4fac15d94a867')
package() {
+ cd "${srcdir}/libreoffice-${pkgver}/dictionaries/no/"
install -dm755 ${pkgdir}/usr/share/hunspell
install -m644 nb_NO.aff $pkgdir/usr/share/hunspell
install -m644 nb_NO.dic $pkgdir/usr/share/hunspell
-
install -dm755 ${pkgdir}/usr/share/myspell/dicts
ln -sv /usr/share/hunspell/nb_NO.aff ${pkgdir}/usr/share/myspell/dicts/
ln -sv /usr/share/hunspell/nb_NO.dic ${pkgdir}/usr/share/myspell/dicts/
}
-md5sums=('256d6fe2ea5f1842090d7d05e90c5383')