summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin T. H. Sandsmark2018-11-03 14:08:16 +0100
committerMartin T. H. Sandsmark2018-11-03 14:08:16 +0100
commite9b74d556572623db41ef085834fe88f42fdb8bd (patch)
treef17d6837084fbb6daf6af5ad441814ee89a288ac
parenta44143ff28036bc96a1469848179c249d233ac26 (diff)
downloadaur-e9b74d556572623db41ef085834fe88f42fdb8bd.tar.gz
switch to using the libreoffice upstream source, which is active
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD15
2 files changed, 10 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 756379210262..cbc7ee363d45 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 76dbd19c3996..61ff0e2a5521 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')