summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorxyz2022-06-11 03:50:35 -0700
committerxyz2022-06-11 03:50:35 -0700
commit997f8d3e3d95af2fd8e71631b899405c7b16140c (patch)
tree5b68869995fe692af630d5414b14479da40f443b
downloadaur-997f8d3e3d95af2fd8e71631b899405c7b16140c.tar.gz
init
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD16
2 files changed, 28 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..e6458e261625
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = stardict-oxford-gb-formated
+ pkgdesc = Oxford English-Chinese Dictionary (Formated) for StarDict
+ pkgver = 2.4.2
+ pkgrel = 1
+ url = http://download.huzheng.org/
+ arch = any
+ license = GPL
+ depends = stardict
+ source = http://download.huzheng.org/zh_CN/stardict-oxford-gb-formated-2.4.2.tar.bz2
+ b2sums = 0770a10211a79cab400bd52f50e1b66c9852b29b94ec78888a6ad613c74dd9e9b548c75daa6585d347fc774cc16844107c0b5baea12f75bd48ac25a1d5f1aabd
+
+pkgname = stardict-oxford-gb-formated
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..5359dd16b21e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,16 @@
+# Maintainer: Xiao Pan <gky44px1999@gmail.com>
+pkgname=stardict-oxford-gb-formated
+pkgver=2.4.2
+pkgrel=1
+pkgdesc='Oxford English-Chinese Dictionary (Formated) for StarDict'
+arch=('any')
+url='http://download.huzheng.org/'
+license=('GPL')
+depends=('stardict')
+source=("http://download.huzheng.org/zh_CN/$pkgname-$pkgver.tar.bz2")
+b2sums=('0770a10211a79cab400bd52f50e1b66c9852b29b94ec78888a6ad613c74dd9e9b548c75daa6585d347fc774cc16844107c0b5baea12f75bd48ac25a1d5f1aabd')
+
+package()
+{
+ install -Dm644 "$pkgname-$pkgver/"* -t "$pkgdir/usr/share/stardict/dic/${pkgname#stardict-}"
+}