summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAli Mousavi2017-07-10 21:25:57 +0430
committerAli Mousavi2017-07-10 21:25:57 +0430
commit16366002ab466581906fe077b91ff20b4648bebb (patch)
tree454d8e1cccec16e96e4a416970bcbd408a34c4af
parent0ac1d33588aadef7901d05738d47c798c891e8a3 (diff)
downloadaur-16366002ab466581906fe077b91ff20b4648bebb.tar.gz
Quick fix for optional dependences and quotations
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD12
2 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6d61b4864ec7..10400e5ba5f8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 9a2c870ef1d1..b0af6bd69492 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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