Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
mythes-hu


Commits:
8faa569c by Balló György at 2024-04-20T02:36:07+02:00
Add srcinfo and config for nvchecker

- - - - -


3 changed files:

- + .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,15 @@
+pkgbase = mythes-hu
+       pkgdesc = Hungarian thesaurus
+       pkgver = 1.0
+       pkgrel = 3
+       epoch = 1
+       url = https://magyarispell.sourceforge.net/
+       arch = any
+       license = GPL-2.0-or-later
+       makedepends = git
+       makedepends = libmythes
+       optdepends = libmythes: offers thesaurus library functions
+       source = 
libreoffice-dictionaries::git+https://git.libreoffice.org/dictionaries#commit=a4473e06b56bfe35187e302754f6baaa8d75e54f
+       sha256sums = 
e4d6d54282eb5fa8b1b2b23171382029832c976ed442f5f982a0c5bb7b6db96f
+
+pkgname = mythes-hu


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,4 @@
+[mythes-hu]
+source = "regex"
+url = 
"https://cgit.freedesktop.org/libreoffice/dictionaries/plain/hu_HU/README_th_hu_HU_v2.txt";
+regex = "Hungarian Thesaurus, version (.*) \\("


=====================================
PKGBUILD
=====================================
@@ -11,17 +11,17 @@ url='https://magyarispell.sourceforge.net/'
 license=('GPL-2.0-or-later')
 makedepends=('git' 'libmythes')
 optdepends=('libmythes: offers thesaurus library functions')
-_commit=2404521a6c320ae5e307c6c0fed31d81de751a88
-source=("git+https://git.libreoffice.org/dictionaries#commit=$_commit";)
-sha256sums=('SKIP')
+_commit=a4473e06b56bfe35187e302754f6baaa8d75e54f
+source=("libreoffice-dictionaries::git+https://git.libreoffice.org/dictionaries#commit=$_commit";)
+sha256sums=('e4d6d54282eb5fa8b1b2b23171382029832c976ed442f5f982a0c5bb7b6db96f')
 
 build() {
-  cd dictionaries/hu_HU/
+  cd libreoffice-dictionaries/hu_HU/
   cat th_hu_HU_v2.dat | th_gen_idx.pl > th_hu_HU_v2.idx
 }
 
 package() {
-  cd dictionaries/hu_HU/
+  cd libreoffice-dictionaries/hu_HU/
   install -Dm644 th_hu_HU_v2.dat "$pkgdir/usr/share/mythes/th_hu_HU_v2.dat"
   install -Dm644 th_hu_HU_v2.idx "$pkgdir/usr/share/mythes/th_hu_HU_v2.idx"
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mythes-hu/-/commit/8faa569cce266febf51fb7c0919cba2ee4f41d0a

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/mythes-hu/-/commit/8faa569cce266febf51fb7c0919cba2ee4f41d0a
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to