summaryrefslogtreecommitdiff
path: root/libre/qutebrowser
diff options
context:
space:
mode:
Diffstat (limited to 'libre/qutebrowser')
-rw-r--r--libre/qutebrowser/PKGBUILD33
1 files changed, 18 insertions, 15 deletions
diff --git a/libre/qutebrowser/PKGBUILD b/libre/qutebrowser/PKGBUILD
index 604d5e526..c09917de1 100644
--- a/libre/qutebrowser/PKGBUILD
+++ b/libre/qutebrowser/PKGBUILD
@@ -8,15 +8,20 @@
# parabola changes and rationale:
-# - removed qt5-webengine dependency
-# - set webkit backend as default
-# - condensed the excessive webkit rant on the welcome screen
-# - pin to strongly-coupled dependency versions
+# - removed qt5-webengine dependency
+# - set webkit backend as default
+# - condensed the excessive webkit rant on the welcome screen
+# - pin to strongly-coupled dependency versions
+# NOTE: according to the release notes, v2.5.0 is the final release to support webkit
+# options:
+# * recover webkit support --> may be difficult to maintain
+# * freeze the version --> does anyone want a frozen GUI web browser?
+# * blacklist it --> RIP qutebrowser - parabola has plenty more :)
pkgname=qutebrowser
-pkgver=2.4.0
-pkgrel=2
+pkgver=2.5.0
+pkgrel=1
pkgrel+=.parabola1
pkgdesc="A keyboard-driven, vim-like browser based on PyQt5"
pkgdesc+=" and QtWebKit"
@@ -40,7 +45,7 @@ source=("https://github.com/qutebrowser/qutebrowser/releases/download/v$pkgver/q
"https://github.com/qutebrowser/qutebrowser/releases/download/v$pkgver/qutebrowser-$pkgver.tar.gz.asc")
source+=("warning-webkit.html")
validpgpkeys=("E04E560002401B8EF0E76F0A916EB0C8FD55A072") # Florian Bruhin
-sha256sums=('f2cd9abb14ebabf9630573b2fb8447be192877787dc4e3964e1b55f72a8592ec'
+sha256sums=('e18442a230570f25918a2e89ad4d073ace46c4f59b5fdda2e80ab3c4764451fd'
'SKIP')
sha256sums+=('e18216f24387b61a109611958bb59248beaf5afc90da8654e29ea8b0a7ef1610')
@@ -73,27 +78,25 @@ _version_constraint() # (dep_pkgname [precision])
}
prepare() {
- cd "$pkgname-$pkgver"
-
- cp "$srcdir"/warning-webkit.html qutebrowser/html/
-}
-
-build() {
cd "$pkgname-$pkgver"
+ cp "$srcdir"/warning-webkit.html qutebrowser/html/
+
# make sure webkit is the default backend
sed -i 's/webengine/webkit/' qutebrowser/config/configdata.yml
+}
- export PYTHONHASHSEED=0
+build() {
+ cd "$pkgname-$pkgver"
make -f misc/Makefile all
}
package() {
cd "$pkgname-$pkgver"
+ make -f misc/Makefile DESTDIR="$pkgdir" PREFIX=/usr install
depends+=( $(_version_constraint python 2) \
$(_version_constraint python-pyqt5 ) \
$(_version_constraint qt5-base ) )
- make -f misc/Makefile DESTDIR="$pkgdir" PREFIX=/usr install
}