summaryrefslogtreecommitdiff
path: root/~emulatorman/mozilla-searchplugins/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '~emulatorman/mozilla-searchplugins/PKGBUILD')
-rw-r--r--~emulatorman/mozilla-searchplugins/PKGBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/~emulatorman/mozilla-searchplugins/PKGBUILD b/~emulatorman/mozilla-searchplugins/PKGBUILD
new file mode 100644
index 000000000..4e4f94494
--- /dev/null
+++ b/~emulatorman/mozilla-searchplugins/PKGBUILD
@@ -0,0 +1,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=4
+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'
+ '3c4a7f901bfe9000a702c68f7f78428c'
+ '5bf9ca2558026fa3f4ec52d8e64fee47'
+ 'dc6c76acf4c68a40710383513d72fa8b'
+ 'bdb2640c643493063051bc72eeeff920'
+ 'cb281f07933210c812a6153f32109645')