summaryrefslogtreecommitdiff
path: root/libre/qutebrowser/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-02-07 17:22:54 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-02-07 17:23:10 +0100
commit346512a598432d619dae3accd123775fd836e1f0 (patch)
tree98817dea9fc85cd8dd34efb750d7ce78d83491c4 /libre/qutebrowser/PKGBUILD
parent747170ed18fcc305f1f5b67d7b7f620e504d6a19 (diff)
downloadabslibre-346512a598432d619dae3accd123775fd836e1f0.tar.gz
abslibre-346512a598432d619dae3accd123775fd836e1f0.tar.bz2
abslibre-346512a598432d619dae3accd123775fd836e1f0.zip
libre/qutebrowser: updated to 1.1.1
Diffstat (limited to 'libre/qutebrowser/PKGBUILD')
-rw-r--r--libre/qutebrowser/PKGBUILD29
1 files changed, 11 insertions, 18 deletions
diff --git a/libre/qutebrowser/PKGBUILD b/libre/qutebrowser/PKGBUILD
index 8d0700af2..71af79266 100644
--- a/libre/qutebrowser/PKGBUILD
+++ b/libre/qutebrowser/PKGBUILD
@@ -3,8 +3,12 @@
# Contributor: André Silva <emulatorman@hyperbola.info>
# Contributor (Arch): Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
+# parabola changes and rationale:
+# - removed qt5-webengine dependency
+# - set webkit backend as default
+
pkgname=qutebrowser
-pkgver=1.1.0
+pkgver=1.1.1
pkgrel=1.parabola1
pkgdesc="A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit, without nonfree qt5-webengine recommendation"
arch=("any")
@@ -24,31 +28,20 @@ source=(
"https://github.com/qutebrowser/qutebrowser/releases/download/v$pkgver/qutebrowser-$pkgver.tar.gz"
"https://github.com/qutebrowser/qutebrowser/releases/download/v$pkgver/qutebrowser-$pkgver.tar.gz.asc")
validpgpkeys=("E04E560002401B8EF0E76F0A916EB0C8FD55A072")
-sha256sums=('24e59f9901e635beac82563c10067f1b6bb78bd936e3954f2862873c55f902f0'
+sha256sums=('bf1e57c8a84abf5065a173498e1ad18608f1537db56fa5274334fbf0f239ca25'
'SKIP')
build() {
cd "$srcdir/$pkgname-$pkgver"
+
+ # make sure webkit is the default backend
+ sed -i 's/webengine/webkit/' qutebrowser/config/configdata.yml
+
a2x -f manpage doc/qutebrowser.1.asciidoc
python setup.py build
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- python setup.py install --root="$pkgdir/" --optimize=1
- install -Dm644 doc/qutebrowser.1 "$pkgdir/usr/share/man/man1/qutebrowser.1"
- install -Dm644 misc/qutebrowser.desktop \
- "$pkgdir/usr/share/applications/qutebrowser.desktop"
- for i in 16 24 32 48 64 128 256 512; do
- install -Dm644 "icons/qutebrowser-${i}x$i.png" \
- "$pkgdir/usr/share/icons/hicolor/${i}x$i/apps/qutebrowser.png"
- done
- install -Dm644 icons/qutebrowser.svg \
- "$pkgdir/usr/share/icons/hicolor/scalable/apps/qutebrowser.svg"
- install -Dm755 -t "$pkgdir/usr/share/qutebrowser/userscripts/" misc/userscripts/*
-
- # TODO: When next release of Qutebrowser comes with a Makefile, use it instead
- # of installing scripts manually.
- install -Dm755 -t "$pkgdir/usr/share/qutebrowser/scripts/" \
- scripts/{importer.py,dictcli.py,keytester.py,open_url_in_instance.sh,utils.py}
+ make -f misc/Makefile DESTDIR="$pkgdir" install
}