diff options
author | Ali Mousavi | 2017-07-10 21:25:57 +0430 |
---|---|---|
committer | Ali Mousavi | 2017-07-10 21:25:57 +0430 |
commit | 16366002ab466581906fe077b91ff20b4648bebb (patch) | |
tree | 454d8e1cccec16e96e4a416970bcbd408a34c4af | |
parent | 0ac1d33588aadef7901d05738d47c798c891e8a3 (diff) | |
download | aur-16366002ab466581906fe077b91ff20b4648bebb.tar.gz |
Quick fix for optional dependences and quotations
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 9 insertions, 8 deletions
@@ -5,11 +5,12 @@ pkgbase = hunspell-fa url = http://ftp.gnu.org/gnu/aspell/dict/0index.html arch = any license = LGPL2 + license = GPL2 makedepends = hunspell makedepends = aspell optdepends = hunspell: the spell checking libraries and apps - provides = ${pkgname} - source = http://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-${pkgver}-0.tar.bz2 + provides = hunspell-fa + source = http://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2 sha256sums = 482d26ea879a8ea02d9373952205f67e07c85a7550841b13b5079bb2f9f2e15b pkgname = hunspell-fa @@ -7,16 +7,16 @@ pkgrel=1 pkgdesc='Persian dictionaries for hunspell' url='http://ftp.gnu.org/gnu/aspell/dict/0index.html' arch=('any') -license=('LGPL2') +license=('LGPL2' 'GPL2') depends=() makedepends=('hunspell' 'aspell') -optdepends=('hunspell: the spell checking libraries and apps') -provides=('${pkgname}') -source=('http://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-${pkgver}-0.tar.bz2') +optdepends=('hunspell: the spell checking libraries and apps') +provides=("${pkgname}") +source=("http://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-${pkgver}-0.tar.bz2") sha256sums=('482d26ea879a8ea02d9373952205f67e07c85a7550841b13b5079bb2f9f2e15b') prepare() { - cd '${srcdir}/aspell6-fa-${pkgver}-0' + cd "${srcdir}/aspell6-fa-${pkgver}-0" msg 'converting aspell dictionaries...' LANG=fa_IR.utf8 preunzip -d *.cwl @@ -25,7 +25,7 @@ prepare() { } package() { - cd '${srcdir}/aspell6-fa-${pkgver}-0' + cd "${srcdir}/aspell6-fa-${pkgver}-0" install -dm755 $pkgdir/usr/share/hunspell install -m644 fa_IR.dic fa_IR.aff $pkgdir/usr/share/hunspell |