summaryrefslogtreecommitdiff
path: root/libre/mozilla-searchplugins/PKGBUILD
blob: 047157b2baae476e2c2e30f7c210a370032901d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
# Contributor: Figue <ffigue at gmail>
# Contributor: Figue <ffigue at gmail>
# Contributor (Parabola): fauno <fauno@kiwwwi.com.ar>
# Contributor (Parabola): vando <facundo@esdebian.org>
# Contributor (Parabola): Márcio Silva <coadde@lavabit.com>
# Thank you very much to the older contributors:
# Contributor: evr <evanroman at gmail>
# Contributor: Muhammad 'MJ' Jassim <UnbreakableMJ@gmail.com> 

pkgname=mozilla-searchplugins
pkgver=1.3
pkgrel=6
pkgdesc="System-wide OpenSearch plugins common for Mozilla based browsers."
arch=('any')
license=('MPL' 'GPL' 'LGPL')
url="https://parabolagnulinux.org/"
source=(
  duckduckgo-html.xml
  duckduckgo-lite.xml
  internet-archive.xml
  jamendo-en.xml.in
  jamendo.ico::http://www.jamendo.com/favicon.ico
  parabola-packages.xml::https://parabolagnulinux.org/opensearch/packages/
  parabola-wiki-en.xml::
  seeks-search.xml::http://seeks.zat.im/opensearch.xml
#  yacy.xml::http://search.ipredator.se/opensearchdescription.xml
  yacy.xml
  wikipedia-en.xml::https://en.wikipedia.org/w/opensearch_desc.php
)

build() {
  cd "$srcdir"
  sed "s,@icon@,$(base64 -w0 < jamendo.ico)," < jamendo-en.xml.in > jamendo-en.xml
}

package() {
  install -m755 -d                "${pkgdir}/usr/lib/mozilla/searchplugins"
  install -m644 "${srcdir}"/*.xml "${pkgdir}/usr/lib/mozilla/searchplugins"
}

md5sums=('b4cc6bd8353af36ade441916217619e4'
         '766aa6def4bf63c0d65afd6ca1b1ce37'
         '462c68585461f8cdc23c93c46f6ee4cf'
         '0c9a3f48971aab8aa0cf2f5e2ff67292'
         'e50a847cec81357e8730e0d327515a9c'
         '92f834a3a1d85c9ae202955cdfe941eb'
         'b9a0893d7f6d41d755c478fd60c44be8'
         '76df72680069a41a476539213a569302'
         '72fb54e996c42e9a66ef4bbe41070823'
         'dbdd9b61e89d73cc3a70cbe20a1160e1')