summaryrefslogtreecommitdiff
path: root/libre/qutebrowser
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-08 01:51:31 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-03-08 01:58:48 -0300
commite39632e9f0ff46439dd468160b9d8cd05b5160c3 (patch)
treefeb6dd62af10f882103154951540d385904744c5 /libre/qutebrowser
parenteda1fce57cc5b4fc452b5ff13b10c8f25bb6235b (diff)
downloadabslibre-e39632e9f0ff46439dd468160b9d8cd05b5160c3.tar.gz
abslibre-e39632e9f0ff46439dd468160b9d8cd05b5160c3.tar.bz2
abslibre-e39632e9f0ff46439dd468160b9d8cd05b5160c3.zip
qutebrowser: move package from [libre-testing] to [libre]
Diffstat (limited to 'libre/qutebrowser')
-rw-r--r--libre/qutebrowser/PKGBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/libre/qutebrowser/PKGBUILD b/libre/qutebrowser/PKGBUILD
new file mode 100644
index 000000000..484d5e2e5
--- /dev/null
+++ b/libre/qutebrowser/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer (Arch): Pierre Neidhardt <ambrevar@gmail.com>
+# Contributor (Arch): Florian Bruhin (The Compiler) <archlinux.org@the-compiler.org>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=qutebrowser
+pkgver=0.10.0
+pkgrel=1.parabola1
+pkgdesc="A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit, without nonfree qt5-webengine recommendation"
+arch=("any")
+url="http://www.qutebrowser.org/"
+license=("GPL")
+depends=("desktop-file-utils" "hicolor-icon-theme" "libxkbcommon-x11"
+ "python-jinja" "python-pygments" "python-pypeg2" "python-pyqt5>=5.2"
+ "python-yaml" "qt5-base>=5.2" "qt5-webkit" "xdg-utils")
+makedepends=("asciidoc")
+optdepends=("python-colorlog: colored logging output"
+ "gst-libav: media playback"
+ "gst-plugins-base: media playback"
+ "gst-plugins-good: media playback"
+ "gst-plugins-bad: media playback"
+ "gst-plugins-ugly: media playback"
+ "pdfjs: displaying PDF in-browser")
+options=(!emptydirs)
+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=('b5f3516b8f886a972e5028858a9508a6d1adaf89190b38de27f6177998592b70'
+ 'SKIP')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ 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 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/*
+}