1 # Contributor: Jesse Jaara <jesse.jaara@gmail.com>
2 pkgname=openoffice.org-voikko-bin
6 pkgdesc="Ubuntus binary package! Finnish spellchecker, grammar checker and hyphenator extension for OpenOffice.org"
8 url="http://voikko.sourceforge.net"
11 provides=('openoffice-voikko')
12 conflicts=('openoffice-voikko')
13 replaces=('openoffice-voikko')
14 install=openoffice.org-voikko.install
16 if [ "$CARCH" = "x86_64" ]; then
22 # Check if we have go-openoffice
24 if [ -d /usr/lib/go-openoffice ]; then
25 _ooo_ver=go-openoffice
30 source=("http://se.archive.ubuntu.com/ubuntu/pool/main/o/openoffice.org-voikko/openoffice.org-voikko_${pkgver}-${ubuild_ver}_${_arch}.deb")
32 if [ "$CARCH" = "x86_64" ]; then
33 md5sums=('5d70ee2eb429d675036b12a1b178e5a5')
35 md5sums=('7f2f40219871ddb007ba88a6d5ad189c')
39 ar -x openoffice.org-voikko_${pkgver}-${ubuild_ver}_${_arch}.deb data.tar.gz
42 cd ${srcdir}/usr/lib/openoffice/share/extension/install
43 mkdir -p $pkgdir/usr/lib/${_ooo_ver}/share/extension/install
44 cp voikko.oxt $pkgdir/usr/lib/${_ooo_ver}/share/extension/install/
46 # vim:set ts=2 sw=2 et: