diff options
author | xyz <gky44px1999@gmail.com> | 2022-06-11 18:44:36 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2022-06-11 18:44:36 -0700 |
commit | 5607844fa855f11be0cbe34562e2a7ecbe45c93b (patch) | |
tree | bd34ce4f21f7cd6afd2cf530da21bfcc4bb02429 | |
parent | 1b655218dac94eb8a580acb789e1ff01659b8b11 (diff) | |
parent | 254d131a0be62a158eade323c45f4c2aa73c5579 (diff) |
Add 'stardict-wikt-en-all/' from commit '254d131a0be62a158eade323c45f4c2aa73c5579'
git-subtree-dir: stardict-wikt-en-all
git-subtree-mainline: 1b655218dac94eb8a580acb789e1ff01659b8b11
git-subtree-split: 254d131a0be62a158eade323c45f4c2aa73c5579
-rw-r--r-- | stardict-wikt-en-all/.SRCINFO | 12 | ||||
-rw-r--r-- | stardict-wikt-en-all/.gitignore | 4 | ||||
-rw-r--r-- | stardict-wikt-en-all/PKGBUILD | 19 |
3 files changed, 35 insertions, 0 deletions
diff --git a/stardict-wikt-en-all/.SRCINFO b/stardict-wikt-en-all/.SRCINFO new file mode 100644 index 0000000..19d41a4 --- /dev/null +++ b/stardict-wikt-en-all/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = stardict-wikt-en-all + pkgdesc = English Wiktionary All Languages for StarDict + pkgver = 2021_05_02 + pkgrel = 1 + url = https://www.dictinfo.com/ + arch = any + license = cc-by-sa-3.0 + depends = stardict + source = https://www.dictinfo.com/stardict/wikt-en-ALL-2021-05-02.7z + b2sums = dc78b8c0a7ea99a8339336210cfcf8cfd8a41d66703e7079af42209eaa6647f2dbf3cff7471847aefec269f82ea5cc27f184c9538af26b4a5c30f2a4103eaef5 + +pkgname = stardict-wikt-en-all diff --git a/stardict-wikt-en-all/.gitignore b/stardict-wikt-en-all/.gitignore new file mode 100644 index 0000000..018a3de --- /dev/null +++ b/stardict-wikt-en-all/.gitignore @@ -0,0 +1,4 @@ +* +!PKGBUILD +!.SRCINFO +!.gitignore diff --git a/stardict-wikt-en-all/PKGBUILD b/stardict-wikt-en-all/PKGBUILD new file mode 100644 index 0000000..59ab249 --- /dev/null +++ b/stardict-wikt-en-all/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Xiao Pan <gky44px1999@gmail.com> +pkgname=stardict-wikt-en-all +_pkgname=wikt-en-ALL +pkgver=2021_05_02 +# source https://wiki.archlinux.org/title/PKGBUILD#pkgver +_pkgver=${pkgver//_/-} +pkgrel=1 +pkgdesc='English Wiktionary All Languages for StarDict' +arch=('any') +url='https://www.dictinfo.com/' +license=('cc-by-sa-3.0') +depends=('stardict') +source=("https://www.dictinfo.com/stardict/$_pkgname-$_pkgver.7z") +b2sums=('dc78b8c0a7ea99a8339336210cfcf8cfd8a41d66703e7079af42209eaa6647f2dbf3cff7471847aefec269f82ea5cc27f184c9538af26b4a5c30f2a4103eaef5') + +package() +{ + install -Dm644 *.dz *.idx *.ifo -t "$pkgdir/usr/share/stardict/dic/${pkgname#stardict-}" +} |