aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-06-11 03:49:05 -0700
committerxyz <gky44px1999@gmail.com>2022-06-11 03:49:05 -0700
commit9c2c8e80986dc94a7c76932f05b5b5dd8418434b (patch)
tree4561eea211befe13d5f05ed7be03341dedc382bc /PKGBUILD
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..d920a2a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,16 @@
+# Maintainer: Xiao Pan <gky44px1999@gmail.com>
+pkgname=stardict-mdbg-cc-cedict
+pkgver=2.4.2
+pkgrel=1
+pkgdesc='MDBG CC-CEDICT Chinese-English Dictionary for StarDict'
+arch=('any')
+url='http://download.huzheng.org/'
+license=('cc-by-sa-3.0')
+depends=('stardict')
+source=("http://download.huzheng.org/zh_CN/$pkgname-$pkgver.tar.bz2")
+b2sums=('837ce30b9010560614114b78db85807a6554f4be607111a5efe56b1999a0a6f84d9be03058d4d1eaa67c1eecfb689d953e57cc486d9e45ffbc014158263678c2')
+
+package()
+{
+ install -Dm644 "$pkgname-$pkgver/"* -t "$pkgdir/usr/share/stardict/dic/${pkgname#stardict-}"
+}