aboutsummaryrefslogtreecommitdiff
path: root/stardict-wikt-en-all
diff options
context:
space:
mode:
Diffstat (limited to 'stardict-wikt-en-all')
-rw-r--r--stardict-wikt-en-all/.SRCINFO8
-rw-r--r--stardict-wikt-en-all/.gitignore1
-rw-r--r--stardict-wikt-en-all/.nvchecker.toml12
-rw-r--r--stardict-wikt-en-all/PKGBUILD6
4 files changed, 20 insertions, 7 deletions
diff --git a/stardict-wikt-en-all/.SRCINFO b/stardict-wikt-en-all/.SRCINFO
index 5ab0dde..0e1f27d 100644
--- a/stardict-wikt-en-all/.SRCINFO
+++ b/stardict-wikt-en-all/.SRCINFO
@@ -1,11 +1,11 @@
pkgbase = stardict-wikt-en-all
pkgdesc = English Wiktionary All Languages for StarDict
- pkgver = 2023_07_27
- pkgrel = 2
+ pkgver = 2025_10_05
+ pkgrel = 1
url = https://www.dictinfo.com/
arch = any
license = cc-by-sa-3.0
- source = https://www.dictinfo.com/stardict/wikt-en-ALL-2023-07-27.7z
- b2sums = 7bd918d5699c4b2d4ea655c0030f4cbf7ba2040c7310e5fb9840e7e563f0222b316bad23f70b57bf258b0eaa7fab0c21a2bb43529410398db0a58de1ec71770c
+ source = https://www.dictinfo.com/stardict/wikt-en-ALL-2025-10-05.7z
+ b2sums = 0e31fd36d8fc709af83aaf6144197fd5948c7db92a511bcda2c16e5be072657a9a298b0e8f102fba0bcce50413768f061c09702cfaccdd0ad43a9d4ecaea878d
pkgname = stardict-wikt-en-all
diff --git a/stardict-wikt-en-all/.gitignore b/stardict-wikt-en-all/.gitignore
index 018a3de..218cc90 100644
--- a/stardict-wikt-en-all/.gitignore
+++ b/stardict-wikt-en-all/.gitignore
@@ -2,3 +2,4 @@
!PKGBUILD
!.SRCINFO
!.gitignore
+!.nvchecker.toml
diff --git a/stardict-wikt-en-all/.nvchecker.toml b/stardict-wikt-en-all/.nvchecker.toml
new file mode 100644
index 0000000..4952c19
--- /dev/null
+++ b/stardict-wikt-en-all/.nvchecker.toml
@@ -0,0 +1,12 @@
+[stardict-wikt-en-all]
+source = 'regex'
+url = 'https://www.dictinfo.com/'
+# Not sure why but test shows if use sth. like \., must use single quote '
+# instead of double quote ", else error: "jq: parse error: Invalid literal at
+# line 1, column 7"; if want to use double quote ", must use sth. like \\.
+regex = 'stardict/wikt-en-ALL-([0-9]+-[0-9]+-[0-9]+)\.7z'
+# convert the version name from sth. like 2024-10-05 to 2024_10_05 to match
+# PKGBUILD version name, so `pkgctl version upgrade` can correctly upgrade
+# PKGBUILD version
+from_pattern = '-'
+to_pattern = '_'
diff --git a/stardict-wikt-en-all/PKGBUILD b/stardict-wikt-en-all/PKGBUILD
index f63852f..886dc20 100644
--- a/stardict-wikt-en-all/PKGBUILD
+++ b/stardict-wikt-en-all/PKGBUILD
@@ -1,16 +1,16 @@
# Maintainer: Xiao Pan <gky44px1999@gmail.com>
pkgname=stardict-wikt-en-all
_pkgname=wikt-en-ALL
-pkgver=2023_07_27
+pkgver=2025_10_05
# source https://wiki.archlinux.org/title/PKGBUILD#pkgver
_pkgver=${pkgver//_/-}
-pkgrel=2
+pkgrel=1
pkgdesc='English Wiktionary All Languages for StarDict'
arch=('any')
url='https://www.dictinfo.com/'
license=('cc-by-sa-3.0')
source=("https://www.dictinfo.com/stardict/$_pkgname-$_pkgver.7z")
-b2sums=('7bd918d5699c4b2d4ea655c0030f4cbf7ba2040c7310e5fb9840e7e563f0222b316bad23f70b57bf258b0eaa7fab0c21a2bb43529410398db0a58de1ec71770c')
+b2sums=('0e31fd36d8fc709af83aaf6144197fd5948c7db92a511bcda2c16e5be072657a9a298b0e8f102fba0bcce50413768f061c09702cfaccdd0ad43a9d4ecaea878d')
package()
{