1 # Contributor: gucong <gucong43216@gmail.com>
6 pkgdesc="A script to access dict.cn online dictionary with notifying and pronouncing."
9 url="http://github.com/gucong/dictcn-script"
10 depends=('wget' 'xml2')
11 optdepends=('libnotify: for notificaton support' 'xsel: for X selection support' 'mplayer: for pronouncing support')
12 install=$pkgname.install
13 source=('dictcn' 'dictcn.el')
14 md5sums=('8f6a116f70b3d4afcc31f53f3da6e0f7'
15 '52bd0b1220c5bf0a3eee4b155c57913a')
16 noextract=('dictcn' 'dictcn.el')
19 install -D -m 755 "$srcdir/dictcn" "$pkgdir/usr/bin/dictcn"
20 install -D -m 644 "$srcdir/dictcn.el" "$pkgdir/usr/share/emacs/site-lisp/dictcn.el"