summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0f665e67bf5..1f26278274a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = hunspell-ru
pkgdesc = Russian hunspell dictionary
pkgver = 20131101
- pkgrel = 3
+ pkgrel = 4
url = https://code.google.com/p/hunspell-ru/
arch = any
license = LGPL3
diff --git a/PKGBUILD b/PKGBUILD
index de8120caaab..a56eb9c63f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Stas Solovey <whats_up@tut.by>
pkgname=hunspell-ru
pkgver=20131101
-pkgrel=3
+pkgrel=4
pkgdesc="Russian hunspell dictionary"
arch=('any')
url='https://code.google.com/p/hunspell-ru/'
@@ -13,10 +13,10 @@ source=("$pkgname-$pkgver.zip::https://bitbucket.org/Shaman_Alex/russian-diction
sha256sums=('c9c30ca305705691fea4810137763f3b790676aa534a5cd6dfc9b45659aa9408')
package() {
- install -Dm644 ru_RU.dic "$pkgdir/usr/share/hunspell/ru_RU.dic"
- install -Dm644 ru_RU.aff "$pkgdir/usr/share/hunspell/ru_RU.aff"
-
- install -dm755 "$pkgdir/usr/share/myspell/dicts"
- ln -s ../../hunspell/ru_RU.dic "$pkgdir/usr/share/myspell/dicts/ru_RU.dic"
- ln -s ../../hunspell/ru_RU.aff "$pkgdir/usr/share/myspell/dicts/ru_RU.aff"
+ install -dm755 "${pkgdir}/usr/share/hunspell"
+ install -dm755 "${pkgdir}/usr/share/myspell/dicts"
+ for dict in ru_RU.*; do
+ install -vm644 "${dict}" "${pkgdir}/usr/share/hunspell"
+ ln -sv "/usr/share/hunspell/${dict}" "${pkgdir}/usr/share/myspell/dicts"
+ done
}