summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c5d7ac095a8..7d3dda07515 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = hyphen-nb
pkgdesc = Norwegian hyphenation rules
- pkgver = 2.2
+ pkgver = 6.1.3.2
pkgrel = 1
url = http://no.speling.org/
arch = any
license = GPL
depends = hyphen
- source = https://alioth.debian.org/frs/download.php/file/4168/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 = hyphen-nb
diff --git a/PKGBUILD b/PKGBUILD
index 1d0433f29ff..3ebaee83331 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,19 @@
# Maintainer: Martin Sandsmark <martin.sandsmark@kde.org>
pkgname=hyphen-nb
-pkgver=2.2
+_LOver=6.1.3
+pkgver=6.1.3.2
pkgrel=1
pkgdesc='Norwegian hyphenation rules'
arch=('any')
url='http://no.speling.org/'
depends=('hyphen')
license=('GPL')
-source=("https://alioth.debian.org/frs/download.php/file/4168/no_NO-pack2-2.2.zip")
-
-build() {
- unzip hyph_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/hyphen
install -m644 hyph_nb_NO.dic $pkgdir/usr/share/hyphen
@@ -23,4 +22,3 @@ package() {
ln -sv /usr/share/hyphen/hyph_nb_NO.dic ${pkgdir}/usr/share/myspell/dicts/
}
-md5sums=('256d6fe2ea5f1842090d7d05e90c5383')