PKGBUILD 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # Contributor (Hyperbola): Márcio Silva <coadde@hyperbola.info>
  2. # Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
  3. # Contributor: Figue <ffigue at gmail>
  4. # Contributor: Figue <ffigue at gmail>
  5. # Contributor: fauno <fauno@kiwwwi.com.ar>
  6. # Contributor: vando <facundo@esdebian.org>
  7. # Thank you very much to the older contributors:
  8. # Contributor: evr <evanroman at gmail>
  9. # Contributor: Muhammad 'MJ' Jassim <UnbreakableMJ@gmail.com>
  10. pkgname=mozilla-searchplugins
  11. pkgver=2
  12. pkgrel=3
  13. pkgdesc="System-wide OpenSearch plugins common for Mozilla based browsers."
  14. arch=('any')
  15. license=('MPL' 'GPL' 'LGPL')
  16. url="https://www.parabola.nu/"
  17. source=(
  18. searx.json searx.ico
  19. duckduckgo-html.json duckduckgo-html.ico
  20. duckduckgo-lite.json duckduckgo-lite.ico
  21. internet-archive.json internet-archive.ico
  22. parabola-packages.json parabola-packages.ico
  23. parabola-wiki.json parabola-wiki.ico
  24. yacy.json yacy.ico)
  25. package() {
  26. for d in searx duckduckgo-{html,lite} internet-archive parabola-{packages,wiki} yacy; do
  27. install -m755 -d "$pkgdir/usr/share/mozilla/searchplugins/$d"
  28. install -m644 "$srcdir/$d.json" "$pkgdir/usr/share/mozilla/searchplugins/$d/manifest.json"
  29. install -m644 "$srcdir/$d.ico" "$pkgdir/usr/share/mozilla/searchplugins/$d/favicon.ico"
  30. done
  31. }
  32. sha256sums=('2c1323676dd6633a3a813e3d29f899a234df385990e8e31a224c184f0171caad'
  33. '57940b86f10b3c2e341fbaf5ddd7707e2b5ae418ccd17f9976f02f321895a1cd'
  34. 'b8078c5c61df0851aad5ae9e418a1ff2cf8e359bf86e648078d39413b09ce46c'
  35. '3ec69a44bd0df1b1e6da6a2a7ec8a5aa53cfc6a3149841c52aeefeb61f5ba923'
  36. '94cb076c272e34b5772e6df4f5df1ff8f4cc5f13d556b5d9cf73d0d981b66782'
  37. '3ec69a44bd0df1b1e6da6a2a7ec8a5aa53cfc6a3149841c52aeefeb61f5ba923'
  38. '0d42fbe6dc41ed00b7b7295539f530412954633ad3d50b3744d0e91fd684b1c1'
  39. 'abac83a6e6813515818512cbe6b8714820e43471ac10dd997023dab93cd6aeca'
  40. 'd549273e31e51399e32b4f39b46e7c019384c9cab214c49c1f290f51c5d1e56b'
  41. '96a64ce3e91e88a6b890edf752df08246a51284e6250d53276fa3e0bbab2f667'
  42. '5b4e493fb0a80e7e414bda1b37b7d3a1d14cf59b72ce1aa4984812f39184dc2d'
  43. '735b8ef017b33b8017af0ee3253fe78f523ccf3144b1f1deaee17a4f6cb0bde4'
  44. '519864cf9e828e97400ab4ccc165c1115f12c567865dc1b008d857af73a1cfa4'
  45. '6236c83242b32ff1f9ad38eaab32617216228474818419413d3535b4dfaa4729')