Want more features on Pastebin? Sign Up, it's FREE!
Guest

mozvoikko 2.0.1-1 - PKGBUILD

By: a guest on Jan 8th, 2012  |  syntax: None  |  size: 1.14 KB  |  views: 41  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #Contributor: Jussi Timperi <gmail.com: jussi.timperi>
  2. #Maintainer:  Jesse Jaara   <gmail.com: jesse.jaara>
  3.  
  4. pkgname=mozvoikko
  5. pkgver=2.0.1
  6. pkgrel=1
  7. pkgdesc="Finnish spell-checker extension for Firefox using Voikko"
  8. arch=('any')
  9. url="http://voikko.sourceforge.net"
  10. license=('GPL2')
  11. depends=('libvoikko')
  12. optdepends=('firefox<=10.0a1' 'thunderbird<=10.0a1' 'seamonkey=2.6')
  13. source=("http://downloads.sourceforge.net/voikko/${pkgname}-${pkgver}.tar.gz")
  14.  
  15. package() {
  16.   cd "${srcdir}/${pkgname}-${pkgver}"
  17.  
  18.   #sed -e 's|9.0a1|10.0a1|' \
  19.   #    -e 's|2.6a1|2.6|'    \
  20.   #    -i install.rdf
  21.  
  22.    _UUID="{b676e3ff-cda7-4e0c-b2b8-74e4bb40a67a}"
  23.  
  24.   mkdir -p "${pkgdir}/usr/lib/firefox/extensions/${_UUID}"
  25.   mkdir -p "${pkgdir}/usr/lib/thunderbird/extensions/"
  26.   mkdir -p "${pkgdir}/usr/lib/seamonkey-2.6/extensions/"
  27.  
  28.   cp -r * "${pkgdir}/usr/lib/firefox/extensions/${_UUID}/"
  29.   ln -s "${pkgdir}/usr/lib/firefox/extensions/${_UUID}" "${pkgdir}/usr/lib/thunderbird/extensions/${_UUID}"
  30.   ln -s "${pkgdir}/usr/lib/firefox/extensions/${_UUID}" "${pkgdir}/usr/lib/seamonkey-2.6/extensions/${_UUID}"
  31. }
  32.  
  33. md5sums=('8d3ded01a39f5c1a9c59b4c394c174ba')
clone this paste RAW Paste Data