updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / hunspell-uk / PKGBUILD
blob5517d0c1212e1c4015f869abb443b9a007bc408a
1 # $Id$
3 pkgname=hunspell-uk
4 pkgver=1.6.1
5 pkgrel=1
6 pkgdesc="Ukrainian hunspell dictionary"
7 provides=('hunspell-uk')
8 conflicts=('hunspell-uk')
9 replaces=('hunspell-uk')
10 arch=(any)
11 url="http://extensions.services.openoffice.org/project/dict-uk_UA"
12 license=('custom')
13 optdepends=('hunspell: the spell checking libraries and apps')
14 source=(http://extensions.services.openoffice.org/e-files/975/3/dict-uk_UA-1.6.1.oxt)
16 build() {
17   /bin/true
20 package() {
21   cd "$srcdir"/uk_UA
22   install -dm755 ${pkgdir}/usr/share/hunspell
23   install -m 644 uk_UA.dic uk_UA.aff $pkgdir/usr/share/hunspell
25   # the symlinks
26   install -dm755 ${pkgdir}/usr/share/myspell/dicts
27   pushd $pkgdir/usr/share/myspell/dicts
28     for file in $pkgdir/usr/share/hunspell/*; do
29       ln -sv /usr/share/hunspell/$(basename $file) .
30     done
31   popd
33   #docs
34   install -dm755 ${pkgdir}/usr/share/doc/$pkgname
35   install -m 644 README_uk_UA.txt $pkgdir/usr/share/doc/$pkgname
38 md5sums=('2436862501d01bfd0a7183a743df2dab')