diff options
author | DSP | 2016-07-06 01:49:10 +0300 |
---|---|---|
committer | DSP | 2016-07-06 01:49:10 +0300 |
commit | 70f0d7006e6c3e6b7fbb205f272c5b33fd0b1843 (patch) | |
tree | f6dc31aed9a4a5c09b8edd66bf7468c3fb8f0f3e /PKGBUILD | |
parent | ede14f9fdeec380146687c54c7a3481eebdb903c (diff) | |
download | aur-stardict-full-eng-rus.tar.gz |
Recompress dictionaries after repair
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ pkgname=stardict-full-eng-rus pkgver=2.4.2 -pkgrel=6 +pkgrel=7 pkgdesc="Large english-russian dictionary for Stardict" license=('GPL') optdepends=( @@ -14,13 +14,13 @@ source=("http://download.huzheng.org/ru/$pkgname-$pkgver.tar.bz2") #source=("http://getfr.no-ip.org/pub/dc/software/stardict-ru/$pkgname-$pkgver.tar.bz2") #source=("http://sourceforge.net/projects/xdxf/files/dicts-stardict-form-xdxf/002c/stardict-comn_sdict05_eng_rus_full-2.4.2.tar.bz2") md5sums=('9d6eff29898a47f5c12c5bc9836a03eb') -makedepends=('stardict-tools-git') +makedepends=('stardict-tools-git' 'dictd') arch=(any) prepare() { msg "Repairing dictionary using stardict-repair from stardict-tools-git..." cd $srcdir/ mkdir -p repaired - stardict-repair -q $pkgname-$pkgver/*.ifo -O repaired + stardict-repair --compress-dict -q $pkgname-$pkgver/*.ifo -O repaired } package() { mkdir -p $pkgdir/usr/share/stardict/dic/ |