blob: de280c81d91854a235e3c459ad0e4f9f1d575c0d (
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
51
52
53
54
55
56
57
|
# $Id: PKGBUILD 193232 2016-10-24 18:43:18Z arojas $
# Maintainer (Arch): speps <speps at aur dot archlinux dot org>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=qupzilla
pkgver=2.0.2
pkgrel=1.parabola1
pkgdesc="Cross-platform QtWebEngine browser, without non-privacy search engines"
arch=(i686 x86_64 armv7h)
url="http://www.qupzilla.com/"
license=('GPL3')
depends=('qt5-webengine' 'qt5-x11extras' 'hunspell')
makedepends=('qt5-tools' 'kwallet' 'libgnome-keyring')
optdepends=('bash-completion: bash completion support' 'kwallet: kf5 kwallet integration'
'libgnome-keyring: gnome keyring integration')
provides=('qupzilla-qt5')
conflicts=('qupzilla-qt5')
replaces=('qupzilla-qt5')
source=("$pkgname-$pkgver.tar.gz::https://github.com/QupZilla/qupzilla/archive/v$pkgver.tar.gz"
'searchenginesmanager.cpp.sed'
'speeddial.cpp.sed'
'start.html.sed')
md5sums=('7036fab0c9ca3a5e5f1cc2b58147100b'
'7c6692810cc521633e0a6d9a076334e1'
'0f166fa102af975b3b8ac030d477e9b8'
'77120a0c39ba8254e5b2c273910f029a')
prepare() {
# configure
export USE_WEBGL=true \
QUPZILLA_PREFIX=/usr/ \
KDE_INTEGRATION=true \
GNOME_INTEGRATION=true
# remove Google and Youtube support, replaces it to DDG HTML
cd $pkgname-$pkgver
sed -i -f $srcdir/searchenginesmanager.cpp.sed src/lib/opensearch/searchenginesmanager.cpp
sed -i -f $srcdir/speeddial.cpp.sed src/lib/plugins/speeddial.cpp
sed -i -f $srcdir/start.html.sed src/lib/data/html/start.html
}
build() {
cd $pkgname-$pkgver
qmake
make
}
package() {
cd $pkgname-$pkgver
make INSTALL_ROOT="$pkgdir/" install
# zsh completion
install -Dm644 linux/completion/_$pkgbase \
"$pkgdir/usr/share/zsh/site-functions/_$pkgbase"
}
# vim:set ts=2 sw=2 et:
|