updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / stardict-longman / PKGBUILD
blobf81fba2fed4eca38906fb6fce45caa9ae75949be
1 # Contributor: Michal Karas <largon@largon.net>
3 pkgname=stardict-longman
4 pkgver=2.4.2
5 pkgrel=3
6 pkgdesc="Longman dictionary for Stardict"
7 arch=('i686' 'x86_64')
8 depends=('stardict')
9 url="http://stardict.sourceforge.net"
10 license=('custom')
11 md5sums=('a6e8c1b3174c4f00e99017b278957436' 'b13689675df5b5f392e054b3595d745f')
12 source=(http://downloads.sourceforge.net/project/stardict/stardict-dict-babylon/en/stardict-babylon-Longman-$pkgver.tar.bz2 COPYING)
14 build() {
15         cd $startdir/src/stardict-babylon-Longman-$pkgver
16         mkdir -p $startdir/pkg/usr/share/stardict/dic/res
17         install -m 644 Longman.dict.dz Longman.idx Longman.ifo $startdir/pkg/usr/share/stardict/dic/
18         install -m 644 res/* $startdir/pkg/usr/share/stardict/dic/res/
20         mkdir -p $startdir/pkg/usr/share/licenses/stardict-longman/
21         install -m 644 $startdir/COPYING $startdir/pkg/usr/share/licenses/stardict-longman/