updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mythes-uk / PKGBUILD
blob3a50851e0afebb4428a3373e7914c18fec14d2c3
1 # $Id$
3 pkgname=('mythes-uk')
4 pkgver=0.1
5 pkgrel=2
6 pkgdesc="Ukrainian thesaurus"
7 arch=(any)
8 url="http://extensions.services.openoffice.org/project/dict-uk_UA"
9 license=('LGPL')
10 optdepends=('libmythes: offers thesaurus library functions')
11 source=(http://extensions.services.openoffice.org/e-files/975/3/dict-uk_UA-1.6.1.oxt)
13 build() {
14   /bin/true
17 package() {
19   cd "$srcdir/uk_UA"
20   install -dm755 ${pkgdir}/usr/share/mythes
21   install -m 644 th_uk_UA.* $pkgdir/usr/share/mythes
23   # the symlinks
24   install -dm755 ${pkgdir}/usr/share/myspell/dicts
25   pushd $pkgdir/usr/share/myspell/dicts
26     for file in $pkgdir/usr/share/mythes/*; do
27       ln -sv /usr/share/mythes/$(basename $file) .
28     done
29   popd
30   
31   # docs
32   install -dm755 ${pkgdir}/usr/share/doc/$pkgname
33   install -m 644 README_th_uk_UA.txt $pkgdir/usr/share/doc/$pkgname
36 md5sums=('2436862501d01bfd0a7183a743df2dab')