aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-12-18 19:39:13 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:45 +0200
commit9fb25b8afc402ad6406901eac7fcb93085a3a8cf (patch)
tree1a1723796387a638482ddb7e1e7d34e2bc252020
downloadpkgbuilds-9fb25b8afc402ad6406901eac7fcb93085a3a8cf.tar.xz
import pypeg2 and qutebrowser-git
-rw-r--r--.SRCINFO36
-rw-r--r--PKGBUILD72
-rw-r--r--qutebrowser-git.install12
3 files changed, 120 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..e55d3b8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,36 @@
+# Generated by makepkg 4.2.1
+# Mon Jun 1 15:01:12 UTC 2015
+pkgbase = qutebrowser-git
+ pkgdesc = A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit
+ pkgver = r3206.3622f35
+ pkgrel = 4
+ url = http://www.qutebrowser.org/
+ install = qutebrowser-git.install
+ arch = any
+ license = GPL
+ makedepends = asciidoc
+ depends = python>=3.4
+ depends = python-setuptools
+ depends = python-pyqt5>=5.2
+ depends = qt5-base>=5.2
+ depends = qt5-webkit>=5.2
+ depends = libxkbcommon-x11
+ depends = python-pypeg2
+ depends = python-jinja
+ depends = python-pygments
+ optdepends = python-colorlog: colored logging output
+ optdepends = gst-libav: media playback
+ optdepends = gst-plugins-base: media playback
+ optdepends = gst-plugins-good: media playback
+ optdepends = gst-plugins-bad: media playback
+ optdepends = gst-plugins-ugly: media playback
+ provides = qutebrowser
+ conflicts = qutebrowser
+ options = !emptydirs
+ source = git+https://github.com/The-Compiler/qutebrowser.git
+ source = qutebrowser-git.install
+ sha256sums = SKIP
+ sha256sums = 3622243cf88eef2bb3381fec5e3cede59288b263a0ef6387510e0ad92e2cb690
+
+pkgname = qutebrowser-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..9b7a739
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,72 @@
+pkgname=qutebrowser-git
+pkgver=r3206.3622f35
+pkgrel=4
+
+pkgdesc="A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit"
+url="http://www.qutebrowser.org/"
+arch=(any)
+license=('GPL')
+
+depends=('python>=3.4' 'python-setuptools' 'python-pyqt5>=5.2' 'qt5-base>=5.2'
+ 'qt5-webkit>=5.2' 'libxkbcommon-x11' 'python-pypeg2' 'python-jinja'
+ 'python-pygments')
+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')
+
+conflicts=('qutebrowser')
+provides=('qutebrowser')
+
+options=(!emptydirs)
+
+source=('git+https://github.com/The-Compiler/qutebrowser.git'
+ 'qutebrowser-git.install')
+
+sha256sums=('SKIP'
+ '3622243cf88eef2bb3381fec5e3cede59288b263a0ef6387510e0ad92e2cb690')
+
+install=qutebrowser-git.install
+
+pkgver() {
+ cd "$srcdir/qutebrowser"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/qutebrowser"
+ python scripts/asciidoc2html.py
+ a2x -f manpage doc/qutebrowser.1.asciidoc
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/qutebrowser"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 doc/qutebrowser.1 "$pkgdir/usr/share/man/man1/qutebrowser.1"
+ install -Dm755 qutebrowser.desktop \
+ "$pkgdir/usr/share/applications/qutebrowser.desktop"
+ install -Dm755 icons/qutebrowser-16x16.png \
+ "$pkgdir/usr/share/icons/hicolor/16x16/apps/qutebrowser.png"
+ install -Dm755 icons/qutebrowser-24x24.png \
+ "$pkgdir/usr/share/icons/hicolor/24x24/apps/qutebrowser.png"
+ install -Dm755 icons/qutebrowser-32x32.png \
+ "$pkgdir/usr/share/icons/hicolor/32x32/apps/qutebrowser.png"
+ install -Dm755 icons/qutebrowser-48x48.png \
+ "$pkgdir/usr/share/icons/hicolor/48x48/apps/qutebrowser.png"
+ install -Dm755 icons/qutebrowser-64x64.png \
+ "$pkgdir/usr/share/icons/hicolor/64x64/apps/qutebrowser.png"
+ install -Dm755 icons/qutebrowser-96x96.png \
+ "$pkgdir/usr/share/icons/hicolor/96x96/apps/qutebrowser.png"
+ install -Dm755 icons/qutebrowser-128x128.png \
+ "$pkgdir/usr/share/icons/hicolor/128x128/apps/qutebrowser.png"
+ install -Dm755 icons/qutebrowser-256x256.png \
+ "$pkgdir/usr/share/icons/hicolor/256x256/apps/qutebrowser.png"
+ install -Dm755 icons/qutebrowser-512x512.png \
+ "$pkgdir/usr/share/icons/hicolor/512x512/apps/qutebrowser.png"
+ install -Dm755 icons/qutebrowser.svg \
+ "$pkgdir/usr/share/icons/hicolor/scalable/apps/qutebrowser.svg"
+}
diff --git a/qutebrowser-git.install b/qutebrowser-git.install
new file mode 100644
index 0000000..bce670a
--- /dev/null
+++ b/qutebrowser-git.install
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}