summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDSP2016-07-06 01:49:10 +0300
committerDSP2016-07-06 01:49:10 +0300
commit70f0d7006e6c3e6b7fbb205f272c5b33fd0b1843 (patch)
treef6dc31aed9a4a5c09b8edd66bf7468c3fb8f0f3e /PKGBUILD
parentede14f9fdeec380146687c54c7a3481eebdb903c (diff)
downloadaur-stardict-full-eng-rus.tar.gz
Recompress dictionaries after repair
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index da3a9bb33939..465a97e8564d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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/