summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-27 02:19:29 -0800
committerroot <root@rshg054.dnsready.net>2012-11-27 02:19:29 -0800
commitc008601effc878e60852f7928ddadcf5a16eb851 (patch)
tree50f2e1a3e779a9a93deadc396c29f80c6f24de0e /libre
parentd41782ebd2416faf39268ec9a2c3242430390308 (diff)
Tue Nov 27 02:14:24 PST 2012
Diffstat (limited to 'libre')
-rw-r--r--libre/mozilla-searchplugins/PKGBUILD35
-rw-r--r--libre/mozilla-searchplugins/jamendo-en.xml.in10
2 files changed, 31 insertions, 14 deletions
diff --git a/libre/mozilla-searchplugins/PKGBUILD b/libre/mozilla-searchplugins/PKGBUILD
index 288ce698d..11635526e 100644
--- a/libre/mozilla-searchplugins/PKGBUILD
+++ b/libre/mozilla-searchplugins/PKGBUILD
@@ -9,35 +9,42 @@
# Contributor: Muhammad 'MJ' Jassim <UnbreakableMJ@gmail.com>
pkgname=mozilla-searchplugins
-pkgver=1.2
-pkgrel=3
+pkgver=1.3
+pkgrel=1
pkgdesc="System-wide OpenSearch plugins common for Mozilla based browsers."
arch=('any')
license=('MPL' 'GPL' 'LGPL')
url="https://parabolagnulinux.org/"
source=(
- duck-duck-go-lite.xml
+ duckduckgo-html.xml::https://duckduckgo.com/opensearch_html.xml
+ duckduckgo-lite.xml::https://duckduckgo.com/opensearch_lite.xml
internet-archive.xml
- jamendo-en.xml
- logless-search.xml
+ jamendo-en.xml.in
+ jamendo.ico::http://www.jamendo.com/favicon.ico
parabola-packages.xml
parabola-wiki-en.xml
- seeks-search.xml
- wikipedia.xml
- yacy.xml
+ seeks-search.xml::http://www.seeks-project.info/search.php/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=('e1bda0854de7d764f7401c81bb82b5ef'
+md5sums=('fde80774b91b3aba358d587c65139727'
+ 'd19e22a8e1e663905fb1ead60abd2a5d'
'462c68585461f8cdc23c93c46f6ee4cf'
- '2d492295c4308f9bba9ece28d8b3af2d'
- '937ac0e5392b060d93bd33e761fbfa51'
+ '0c9a3f48971aab8aa0cf2f5e2ff67292'
+ 'e50a847cec81357e8730e0d327515a9c'
'3c4a7f901bfe9000a702c68f7f78428c'
'5bf9ca2558026fa3f4ec52d8e64fee47'
- '86ccb1d02683e69e6bc0543cb77a06bc'
- 'c35f4971feff8387e0570d7a165eb6fa'
- '24528ca3f7f1e1a0ba735231aa3ac1de')
+ '3c68938db88b6ea552742718a08f3bf8'
+ 'bdb2640c643493063051bc72eeeff920'
+ 'cb281f07933210c812a6153f32109645')
diff --git a/libre/mozilla-searchplugins/jamendo-en.xml.in b/libre/mozilla-searchplugins/jamendo-en.xml.in
new file mode 100644
index 000000000..96b3a008d
--- /dev/null
+++ b/libre/mozilla-searchplugins/jamendo-en.xml.in
@@ -0,0 +1,10 @@
+<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
+<os:ShortName>Jamendo (en)</os:ShortName>
+<os:Description>Search Jamendo.com English site for downloadable Creative Commons music</os:Description>
+<os:InputEncoding>UTF-8</os:InputEncoding>
+<os:Image width="16" height="16">data:image/x-icon;base64,@icon@</os:Image>
+<UpdateUrl>http://mycroft.mozdev.org/updateos.php/id0/jamendo.xml</UpdateUrl>
+<SearchForm>http://www.jamendo.com/en</SearchForm>
+<os:Url type="text/html" method="GET" template="http://www.jamendo.com/en/search#qs=q={searchTerms}">
+</os:Url>
+</SearchPlugin>