Date: Tuesday, November 15, 2022 @ 22:30:23
  Author: andyrtr
Revision: 461855

archrelease: copy trunk to extra-any

Added:
  hyphen-de/repos/extra-any/PKGBUILD
    (from rev 461854, hyphen-de/trunk/PKGBUILD)
Deleted:
  hyphen-de/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  103 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 49 insertions(+), 54 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-15 22:30:15 UTC (rev 461854)
+++ PKGBUILD    2022-11-15 22:30:23 UTC (rev 461855)
@@ -1,54 +0,0 @@
-# Maintainer: AndyRTR <andy...@archlinux.org>
-
-pkgname=hyphen-de
-pkgver=20060120
-pkgrel=6
-pkgdesc="German hyphenation rules"
-arch=(any)
-url="https://www.openoffice.org/lingucomponent/";
-license=('LGPL')
-optdepends=('hyphen: offers hyphenation library functions')
-source=(#http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_de_DE.zip
-        
#http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_de_CH.zip
-        # mirror from ApacheOpenOffice - see: 
http://www.openoffice.org/distribution/mirrors/master.html
-        # 
http://sunsite.informatik.rwth-aachen.de/ftp/pub/mirror/OpenOffice/contrib/dictionaries/hyph_de_DE.zip
-        # 
http://sunsite.informatik.rwth-aachen.de/ftp/pub/mirror/OpenOffice/contrib/dictionaries/hyph_de_CH.zip
-        
https://www.mirrorservice.org/sites/download.openoffice.org/contrib/dictionaries/hyph_de_DE.zip
-        
https://www.mirrorservice.org/sites/download.openoffice.org/contrib/dictionaries/hyph_de_CH.zip)
-md5sums=('20e5b706ee3201aa2741dabca824cd8b'
-         '7b8567cc0ee1623dded40f2cba366e91')
-
-build() {
-  /bin/true
-}
-
-package() {
-  cd "$srcdir"
-  install -dm755 "${pkgdir}"/usr/share/hyphen
-  cp -p hyph_de_??.* "$pkgdir"/usr/share/hyphen
-
-  pushd "$pkgdir"/usr/share/hyphen/
-  de_DE_aliases="de_AT de_BE de_LU"
-  for lang in $de_DE_aliases; do
-        ln -s hyph_de_DE.dic hyph_$lang.dic
-  done
-  de_CH_aliases="de_LI"
-  for lang in $de_CH_aliases; do
-        ln -s hyph_de_CH.dic hyph_$lang.dic
-  done
-
-  popd
-
-  # the symlinks
-  install -dm755 "${pkgdir}"/usr/share/myspell/dicts
-  pushd "$pkgdir"/usr/share/myspell/dicts
-    for file in "$pkgdir"/usr/share/hyphen/*; do
-      ln -sv /usr/share/hyphen/$(basename $file) .
-    done
-  popd
-  
-  # docs
-  install -dm755 "${pkgdir}"/usr/share/doc/$pkgname
-  cp -p README_hyph_de_DE.txt "$pkgdir"/usr/share/doc/$pkgname
-  cp -p README_hyph_de_CH.txt "$pkgdir"/usr/share/doc/$pkgname
-}

Copied: hyphen-de/repos/extra-any/PKGBUILD (from rev 461854, 
hyphen-de/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-11-15 22:30:23 UTC (rev 461855)
@@ -0,0 +1,49 @@
+# Maintainer: AndyRTR <andy...@archlinux.org>
+
+pkgname=hyphen-de
+# https://cgit.freedesktop.org/libreoffice/dictionaries/log/de
+_commit=9e27d044d98e65f89af8c86df722a77be827bdc8 # last commit "de" subdir - 
2022-09-23
+pkgver=20220923
+pkgrel=1
+pkgdesc="German hyphenation rules"
+arch=(any)
+url="https://wiki.documentfoundation.org/Development/Dictionaries";
+license=('LGPL')
+makedepends=('git')
+optdepends=('hyphen: offers hyphenation library functions')
+source=("git+https://anongit.freedesktop.org/git/libreoffice/dictionaries.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+#build() {
+#  /bin/true
+#}
+
+package() {
+  cd dictionaries/de
+  install -dm755 "${pkgdir}"/usr/share/hyphen
+  cp -p hyph_de_??.* "$pkgdir"/usr/share/hyphen
+
+  pushd "$pkgdir"/usr/share/hyphen/
+  de_DE_aliases="de_BE de_LU"
+  for lang in $de_DE_aliases; do
+        ln -s hyph_de_DE.dic hyph_$lang.dic
+  done
+  de_CH_aliases="de_LI"
+  for lang in $de_CH_aliases; do
+        ln -s hyph_de_CH.dic hyph_$lang.dic
+  done
+
+  popd
+
+  # the symlinks
+  install -dm755 "${pkgdir}"/usr/share/myspell/dicts
+  pushd "$pkgdir"/usr/share/myspell/dicts
+    for file in "$pkgdir"/usr/share/hyphen/*; do
+      ln -sv /usr/share/hyphen/$(basename $file) .
+    done
+  popd
+  
+  # docs
+  install -dm755 "${pkgdir}"/usr/share/doc/$pkgname
+  cp -p README_hyph_de.txt "$pkgdir"/usr/share/doc/$pkgname
+}

Reply via email to