summaryrefslogtreecommitdiff
path: root/libre/mozilla-searchplugins/PKGBUILD
blob: b2e362899789bae0631e5f856c4e4bb1fe772369 (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
# 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=5
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
  parabola-wiki-en.xml
  seeks-search.xml::http://www.seeks.fr/opensearch.xml
  yacybluebox.xml::http://yacy.dyndns.org:8000/opensearchdescription.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'
         '8d486e7ae47f54c2d6555d96adbdd236'
         '5bf9ca2558026fa3f4ec52d8e64fee47'
         'dc6c76acf4c68a40710383513d72fa8b'
         'bdb2640c643493063051bc72eeeff920'
         'cb281f07933210c812a6153f32109645')