summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 6 insertions, 9 deletions
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')