updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / stardict-zhwikiboot / PKGBUILD
blob87c2cbe69a1be42f6ff4c3673108e42c519fcd7b
1 # Maintainer: figo.zhang <figo1802@gmail.com>
3 pkgname=stardict-zhwikiboot
4 pkgver=2006
5 pkgrel=2
6 pkgdesc="Wikipedia book dictionary for Stardict"
7 license=('GPL')
8 depends=('stardict')
9 url="http://stardict.sourceforge.net"
10 md5sums=('dfdd845b5f3e7aeb5f32065a0eb6c989')
11 source=(http://debian.ustc.edu.cn/debian-uo/dists/sid/ustc/pool/stardict/stardict-wikipedia-zhwikibooks-20061205_2.4.2-2_all.deb)    
12 arch=('any')
14 build() {
15         cd $startdir/src/
16       ar -xv stardict-wikipedia-zhwikibooks-20061205_2.4.2-2_all.deb;
17       tar -xvf data.tar.gz
18         
19         mkdir -p $startdir/pkg/usr/share/stardict/dic/
20         install -m 644 $startdir/src/usr/share/stardict/dic/wikipedia-zhwikibooks-20061205.dict.dz   $startdir/pkg/usr/share/stardict/dic/
21         install -m 644 $startdir/src/usr/share/stardict/dic/wikipedia-zhwikibooks-20061205.idx       $startdir/pkg/usr/share/stardict/dic/
22         install -m 644 $startdir/src/usr/share/stardict/dic/wikipedia-zhwikibooks-20061205.ifo       $startdir/pkg/usr/share/stardict/dic/