summaryrefslogtreecommitdiff
path: root/libre/mozilla-searchplugins/PKGBUILD
blob: cab4d41753eb3b5533df3165fe5179793e1cc64f (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@adinet.com.uy>
# 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=3
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-project.info/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'
         '3c4a7f901bfe9000a702c68f7f78428c'
         '5bf9ca2558026fa3f4ec52d8e64fee47'
         '1e84b90790d21fef1720849619e1562d'
         'bdb2640c643493063051bc72eeeff920'
         'cb281f07933210c812a6153f32109645')