updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / emacs-sdcv / PKGBUILD
blobfc1e373c7c8031fc7b7973bad163b785bf52227d
1 # Contributor: gucong <gucong43216@gmail.com>
2 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
4 pkgname=emacs-sdcv
5 pkgver=0.1
6 pkgrel=3
7 pkgdesc="An extension to lookup words through sdcv (StarDict Console Version) in Emacs."
8 arch=('any')
9 url="http://code.google.com/p/sdcv-mode/"
10 license=('GPL')
11 depends=('emacs' 'sdcv')
12 install=$pkgname.install
13 source=(http://sdcv-mode.googlecode.com/svn/trunk/sdcv-mode.el)
14 md5sums=('3241cda6ba365e9ad9daf0a36b16ae82')
16 build() {
17   emacs -Q -batch -L . -f batch-byte-compile sdcv-mode.el
19 package() {
20   install -D -m 644 "$srcdir/sdcv-mode.el" \
21     "$pkgdir/usr/share/emacs/site-lisp/sdcv-mode.el"
22  install -D -m 644 "$srcdir/sdcv-mode.elc" \
23     "$pkgdir/usr/share/emacs/site-lisp/sdcv-mode.elc"