blob: b7b0bc6c0800e0627a2b36137db837546a78f75a (
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 209884 2017-02-04 12:36:10Z arojas $
# Maintainer (Arch): speps <speps at aur dot archlinux dot org>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=qupzilla
pkgver=2.1.0
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=('3d9f8181b5a5555987666428c0009fb6'
'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:
|