qupzilla: fix search engine again

This commit is contained in:
Chaoting Liu 2015-11-21 14:04:22 +00:00
parent 8675e22822
commit fe82dc6601

View File

@ -4,7 +4,7 @@
_pkgname=QupZilla
pkgname='qupzilla'
pkgver=1.8.9
pkgrel=2
pkgrel=3
pkgdesc="A very fast open source browser based on WebKit core"
url="http://www.qupzilla.com"
arch=('x86_64')
@ -42,7 +42,7 @@ prepare() {
-e 's|"showStatusBar", true|"showStatusBar", false|g' -i preferences.cpp
msg 'Applying search engine patch...'
cd ${srcdir}/${_pkgname}-${pkgver}/src/lib/opensearch/
sed 's,?q=%s\&t=qupzilla,?t=chakra\&q=%s,g' -i searchenginesmanager.cpp
sed 's,\?q=\%s\&t=qupzilla,\?t=chakra\&q=\%s,g' -i searchenginesmanager.cpp
}
build() {