updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / dictcn / PKGBUILD
blobb5d3bd3853360c298190f6e39d4134a8bdfeb071
1 # Contributor: gucong <gucong43216@gmail.com>
3 pkgname=dictcn
4 pkgver=0.4
5 pkgrel=5
6 pkgdesc="A script to access dict.cn online dictionary with notifying and pronouncing."
7 arch=('any')
8 license=('GPL')
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')
18 build() {
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"