diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-08-05 13:37:30 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-09-04 11:24:46 +0200 |
commit | de17d5212836b5874586e9f7cfee4381ee2a8401 (patch) | |
tree | 0da20b0acb2ce00274278c71ec521b50e197da02 /testing/qutebrowser/APKBUILD | |
parent | 11e973581e4c0a12b44f6d2c56307e12f91b380c (diff) | |
download | aports-de17d5212836b5874586e9f7cfee4381ee2a8401.tar.bz2 aports-de17d5212836b5874586e9f7cfee4381ee2a8401.tar.xz |
testing/qutebrowser: new aport
Diffstat (limited to 'testing/qutebrowser/APKBUILD')
-rw-r--r-- | testing/qutebrowser/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/qutebrowser/APKBUILD b/testing/qutebrowser/APKBUILD new file mode 100644 index 0000000000..7a8a7bf75f --- /dev/null +++ b/testing/qutebrowser/APKBUILD @@ -0,0 +1,41 @@ +# 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" |