Commit de17d521 authored by Drew DeVault's avatar Drew DeVault Committed by Natanael Copa

testing/qutebrowser: new aport

parent 11e97358
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=qutebrowser
pkgver=1.4.1
pkgrel=0
pkgdesc="A keyboard-driven, vim-like browser based on PyQT5"
url="https://qutebrowser.org/"
arch="noarch"
license="GPL-3.0-only"
depends="
py3-attrs py3-jinja2 py3-pygments py3-pypeg2 py3-pyqt5 py3-yaml qt5-qtbase
qt5-qtwebengine
"
makedepends="asciidoc py3-pytest py3-hypothesis py3-setuptools"
source="
https://github.com/qutebrowser/qutebrowser/releases/download/v$pkgver/qutebrowser-$pkgver.tar.gz
"
builddir="$srcdir/$pkgname-$pkgver"
options="!check"
build() {
cd "$builddir"
a2x -f manpage doc/qutebrowser.1.asciidoc
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --root="$pkgdir/" --optimize=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"
mkdir -p "$pkgdir/usr/share/qutebrowser/userscripts"
install -Dm755 -t "$pkgdir/usr/share/qutebrowser/userscripts/" misc/userscripts/*
}
sha512sums="a77b786980326f67ffb933d019438933de3a6f43244bfc0f42f22a8f189480b093757b2d5d81de58ab774f39ee4442c2482be4f78ffcad7b73f03d028e2b455d qutebrowser-1.4.1.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment