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 | |
parent | ede14f9fdeec380146687c54c7a3481eebdb903c (diff) | |
download | aur-70f0d7006e6c3e6b7fbb205f272c5b33fd0b1843.tar.gz |
Recompress dictionaries after repair
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 5 deletions
@@ -1,13 +1,14 @@ # Generated by mksrcinfo v8 -# Tue Jul 5 22:27:04 UTC 2016 +# Tue Jul 5 22:49:06 UTC 2016 pkgbase = stardict-full-eng-rus pkgdesc = Large english-russian dictionary for Stardict pkgver = 2.4.2 - pkgrel = 6 + pkgrel = 7 url = http://download.huzheng.org/ru/ arch = any license = GPL makedepends = stardict-tools-git + makedepends = dictd optdepends = stardict: for viewing this dictionary source = http://download.huzheng.org/ru/stardict-full-eng-rus-2.4.2.tar.bz2 md5sums = 9d6eff29898a47f5c12c5bc9836a03eb @@ -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/ |