summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: de8120caaabd361ed4682eefabdc5d0aceace5a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Dmytro Meleshko <dmytro.meleshko@gmail.com>
# Contributor: Andrejs Mivre┼ćiks <gim at fastmail dot fm>
# Contributor: Stas Solovey <whats_up@tut.by>
pkgname=hunspell-ru
pkgver=20131101
pkgrel=3
pkgdesc="Russian hunspell dictionary"
arch=('any')
url='https://code.google.com/p/hunspell-ru/'
license=('LGPL3')
depends=('hunspell')
source=("$pkgname-$pkgver.zip::https://bitbucket.org/Shaman_Alex/russian-dictionary-hunspell/downloads/ru_RU_UTF-8_${pkgver}.zip")
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"
}