summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin T. H. Sandsmark2018-11-03 14:22:26 +0100
committerMartin T. H. Sandsmark2018-11-03 14:22:26 +0100
commit30220ad57ed4cc2a02a1395c823fb871680dda2f (patch)
tree875bcdb057d2a1159cba8b8c2b4e80aa7862d29f
parentea25026a0282040f3bbf4bae375899593527f5fe (diff)
downloadaur-hyphen-nb.tar.gz
switch to using the libreoffice upstream source, which is active
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 8 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c5d7ac095a87..7d3dda075152 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 1d0433f29ffd..3ebaee83331c 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')