summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Husmann2015-08-23 18:01:52 +0200
committerStefan Husmann2015-08-23 18:01:52 +0200
commit9150b4701d8cd07425b03543b349162aec559e2e (patch)
treef6bd52359d7a5dac275aead144dcfe1f2a2108be
downloadaur-9150b4701d8cd07425b03543b349162aec559e2e.tar.gz
nitial upload
-rw-r--r--.SRCINFO38
-rw-r--r--PKGBUILD67
-rw-r--r--uzbl.install11
3 files changed, 116 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..34714555b2e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,38 @@
+pkgbase = uzbl-next-git
+ pkgver = 2012.05.14.1154.g35db169
+ pkgrel = 1
+ url = http://www.uzbl.org
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ options = !emptydirs
+ source = git+https://github.com/uzbl/uzbl.git#branch=next
+ md5sums = SKIP
+
+pkgname = uzbl-core-next-git
+ pkgdesc = Webpage interface component meant for integration with other tools and scripts
+ install = uzbl.install
+ depends = webkitgtk
+ depends = cairo
+ optdepends = socat: to interface with the socket
+ optdepends = dmenu: to run some of the example scripts
+ optdepends = zenity: to run some of the example scripts
+ optdepends = python2: to run some of the example scripts
+ optdepends = xclip: for clipboard related keybindings
+ optdepends = pygtk: for uzbl-tabbed
+
+pkgname = uzbl-browser-next-git
+ pkgdesc = A complete browser experience based on uzbl-core
+ install = uzbl.install
+ depends = uzbl-core-next-git=2012.05.14.1154.g35db169
+ depends = desktop-file-utils
+ depends = python
+ depends = python2
+ depends = webkitgtk
+
+pkgname = uzbl-tabbed-next-git
+ pkgdesc = Tabbing manager providing multiple uzbl-browser instances in 1 window
+ arch = any
+ depends = python2
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5d3ff0aa327
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,67 @@
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+pkgbase=uzbl-next-git
+pkgrel=1
+pkgname=('uzbl-core-next-git' 'uzbl-browser-next-git' 'uzbl-tabbed-next-git')
+pkgver=2012.05.14.1154.g35db169
+arch=('i686' 'x86_64')
+url="http://www.uzbl.org"
+license=('GPL3')
+makedepends=('git')
+source=("git+https://github.com/uzbl/uzbl.git#branch=next")
+md5sums=('SKIP')
+_gitname="uzbl"
+options=('!emptydirs')
+
+pkgver() {
+ cd "$srcdir"/"$_gitname"
+ git describe --tags | sed 's|-|.|g'
+}
+
+prepare() {
+ cd "$srcdir"/"$_gitname"
+ # python2 fix
+ for file in examples/data/scripts/uzbl*; do
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
+ done
+ sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ $(find ./ -name '*.py') bin/*
+}
+
+build() {
+ cd "$srcdir"/"$_gitname"
+ make PREFIX=usr
+}
+
+package_uzbl-core-next-git() {
+ pkgdesc="Webpage interface component meant for integration with other tools and scripts"
+ depends=('webkitgtk' 'cairo')
+ optdepends=('socat: to interface with the socket'
+ 'dmenu: to run some of the example scripts'
+ 'zenity: to run some of the example scripts'
+ 'python2: to run some of the example scripts'
+ 'xclip: for clipboard related keybindings'
+ 'pygtk: for uzbl-tabbed')
+ install=uzbl.install
+
+ cd "$srcdir/$_gitname"
+ make DESTDIR="$pkgdir" PREFIX=/usr install-uzbl-core
+}
+
+package_uzbl-browser-next-git() {
+ install=uzbl.install
+ pkgdesc="A complete browser experience based on uzbl-core"
+ depends=("uzbl-core-next-git=$pkgver" 'desktop-file-utils' \
+ 'python' 'python2' 'webkitgtk')
+ cd "$srcdir/$_gitname"
+ make DESTDIR="$pkgdir/" PREFIX=/usr install install-uzbl-browser
+}
+
+package_uzbl-tabbed-next-git() {
+ pkgdesc="Tabbing manager providing multiple uzbl-browser instances in 1 window"
+ arch=('any')
+ depends=('python2')
+ cd "$srcdir/$_gitname"
+ make DESTDIR="$pkgdir/" PREFIX=/usr install-uzbl-tabbed
+}
+
diff --git a/uzbl.install b/uzbl.install
new file mode 100644
index 00000000000..1409a80a1e7
--- /dev/null
+++ b/uzbl.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+} \ No newline at end of file