summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d3eb3ff92162fa7aa4fc058f6d0547ec536fce7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Jason Ryan <jasonwryan@gmail.com>

pkgname=stardict-oed
pkgver=2.4.2
pkgrel=1
pkgdesc="Oxford English Dictionary for Stardict"
license=('freeware')
arch=('any')
depends=('stardict')
url="https://code.google.com/archive/p/stardict-3/"
md5sums=('7ce40a845b76c33f5c80cd9af638d344'
         '4fb5a2085540ebba08b2ebd3418d631e')
source=(http://download.huzheng.org/bigdict/stardict-Oxford_English_Dictionary_2nd_Ed._P1-2.4.2.tar.bz2
        http://download.huzheng.org/bigdict/stardict-Oxford_English_Dictionary_2nd_Ed._P2-2.4.2.tar.bz2)

package() {
	mkdir -p "$pkgdir/usr/share/stardict/dic/oed"
  cd stardict-Oxford_English_Dictionary_2nd_Ed._P1-"${pkgver}"/
  install -m 644 *.dict.dz *.idx *.ifo "$pkgdir/usr/share/stardict/dic/oed/"
  cd ../stardict-Oxford_English_Dictionary_2nd_Ed._P2-"${pkgver}"/
  install -m 644 *.dict.dz *.idx *.ifo "$pkgdir/usr/share/stardict/dic/oed/"
}

# vim:set ts=2 sw=2 et: