diff options
author | DSP | 2016-07-05 23:26:41 +0300 |
---|---|---|
committer | DSP | 2016-07-05 23:26:41 +0300 |
commit | 16408a13a8262c7d555458172d97c4f84a7f6d3c (patch) | |
tree | 47c09ae5b669730f2abed1c1bfc651ee8eb3cef7 | |
parent | 563adc8daa44147d2e00f944100b234e6b3419cb (diff) | |
download | aur-16408a13a8262c7d555458172d97c4f84a7f6d3c.tar.gz |
Introduced stardict-repair
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 12 insertions, 7 deletions
@@ -1,12 +1,13 @@ # Generated by mksrcinfo v8 -# Fri Apr 8 11:27:24 UTC 2016 +# Tue Jul 5 20:26:04 UTC 2016 pkgbase = stardict-full-eng-rus pkgdesc = Large english-russian dictionary for Stardict pkgver = 2.4.2 - pkgrel = 4 + pkgrel = 5 url = http://download.huzheng.org/ru/ arch = any license = GPL + makedepends = stardict-tools-git 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=4 +pkgrel=5 pkgdesc="Large english-russian dictionary for Stardict" license=('GPL') optdepends=( @@ -14,13 +14,17 @@ 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') arch=(any) +prepare() { + msg "Repairing dictionary using stardict-repair from stardict-tools-git..." + cd $srcdir/ + mkdir repaired + stardict-repair -q $pkgname-$pkgver/*.ifo -O repaired +} package() { - cd $srcdir/$pkgname-$pkgver/ -# rm *.ifo - rm *.idx mkdir -p $pkgdir/usr/share/stardict/dic/ - install -m 644 * $pkgdir/usr/share/stardict/dic/ + install -m 644 repaired/* $pkgdir/usr/share/stardict/dic/ } #md5sums=('a2d2bf21297135b6417a3bf88a3e751d') |