diff options
author | xyz <gky44px1999@gmail.com> | 2022-06-11 03:52:36 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2022-06-11 03:52:36 -0700 |
commit | bb5e59043a9d785c90374c2c903ac16026ad856d (patch) | |
tree | 8be724a2bcab3cf50ae0a472f55f9d2eb906c56c |
init
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..19d41a4 --- /dev/null +++ b/.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/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..59ab249 --- /dev/null +++ b/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-}" +} |