Mail archive
alpine-aports

[alpine-aports] [PATCH 3/3] testing/qutebrowser: new aport

From: Drew DeVault <sir_at_cmpwn.com>
Date: Sun, 5 Aug 2018 13:37:30 -0400

---
 testing/qutebrowser/APKBUILD | 41 ++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 testing/qutebrowser/APKBUILD
diff --git a/testing/qutebrowser/APKBUILD b/testing/qutebrowser/APKBUILD
new file mode 100644
index 0000000000..7a8a7bf75f
--- /dev/null
+++ b/testing/qutebrowser/APKBUILD
_at_@ -0,0 +1,41 @@
+# Maintainer: Drew DeVault <sir_at_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"
-- 
2.18.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sun Aug 05 2018 - 13:37:30 GMT