summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBalló György2018-04-12 18:42:17 +0000
committerBalló György2018-04-12 18:42:17 +0000
commitd62cd1ae11ef0aa915b4e13e01553218b41aa0fa (patch)
tree6fedc7cb44ba49bd6634d91d8ef971f65911007a
downloadaur-d62cd1ae11ef0aa915b4e13e01553218b41aa0fa.tar.gz
Move uzbl from the [community] repository
-rw-r--r--.SRCINFO33
-rw-r--r--PKGBUILD73
-rw-r--r--uzbl.install17
3 files changed, 123 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..aca1ba0b1ca
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,33 @@
+pkgbase = uzbl
+ pkgver = 0.9.1+95+g3a4c70ad
+ pkgrel = 1
+ epoch = 1
+ url = http://www.uzbl.org
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ makedepends = python-setuptools
+ makedepends = webkit2gtk
+ source = git+https://github.com/uzbl/uzbl.git#commit=3a4c70ad114b763f50a02c72ee4332dd20af033d
+ sha256sums = SKIP
+
+pkgname = uzbl-core
+ pkgdesc = Webpage interface component meant for integration with other tools and scripts
+ depends = webkit2gtk
+
+pkgname = uzbl-browser
+ pkgdesc = A complete browser experience based on uzbl-core
+ depends = uzbl-core
+ depends = socat
+ depends = zenity
+ depends = xclip
+ depends = dmenu
+ depends = python2
+ depends = python-setuptools
+ depends = python-six
+
+pkgname = uzbl-tabbed
+ pkgdesc = Tabbing manager providing multiple uzbl-browser instances in 1 window
+ depends = uzbl-browser
+ depends = pygtk
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..84e16b8dd37
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,73 @@
+# $Id: PKGBUILD 266875 2017-11-15 14:29:11Z foutrelis $
+# Maintainer : Laurent Carlier <lordheavym@gmail.com>
+# Contributor: Ionut Biru <ibiru@archlinux.org>
+# Contributor: Dieter Plaetinck <dieter@plaetinck.be>
+
+pkgbase=uzbl
+pkgname=('uzbl-core' 'uzbl-browser' 'uzbl-tabbed')
+epoch=1
+pkgver=0.9.1+95+g3a4c70ad
+pkgrel=1
+arch=('x86_64')
+url="http://www.uzbl.org"
+license=('GPL3')
+makedepends=('git' 'python-setuptools' 'webkit2gtk')
+_commit=3a4c70ad114b763f50a02c72ee4332dd20af033d # next
+source=("git+https://github.com/uzbl/uzbl.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgbase
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+build() {
+ cd $pkgbase
+
+ make PREFIX=/usr
+
+ # fake installation
+ mkdir ${srcdir}/fakeinstall
+ make DESTDIR=${srcdir}/fakeinstall PREFIX=/usr install
+}
+
+package_uzbl-core() {
+ pkgdesc="Webpage interface component meant for integration with other tools and scripts"
+ depends=('webkit2gtk')
+
+ install -m755 -d ${pkgdir}/usr/{bin,share}
+ install -m755 -d ${pkgdir}/usr/share/{man/man1,uzbl}
+
+ mv -v ${srcdir}/fakeinstall/usr/bin/uzbl-core ${pkgdir}/usr/bin/
+
+ mv -v ${srcdir}/fakeinstall/usr/share/uzbl/docs ${pkgdir}/usr/share/uzbl/
+ mv -v ${srcdir}/fakeinstall/usr/share/man/man1/uzbl-core.1 ${pkgdir}/usr/share/man/man1
+}
+
+package_uzbl-browser() {
+ pkgdesc="A complete browser experience based on uzbl-core"
+ depends=('uzbl-core' 'socat' 'zenity' 'xclip' 'dmenu' 'python2' 'python-setuptools' 'python-six')
+
+ install -m755 -d ${pkgdir}/usr/{bin,lib,share}
+ install -m755 -d ${pkgdir}/usr/share/{applications,man/man1}
+
+ mv -v ${srcdir}/fakeinstall/usr/bin/uzbl-browser ${pkgdir}/usr/bin/
+ mv -v ${srcdir}/fakeinstall/usr/bin/uzbl-event-manager ${pkgdir}/usr/bin/
+
+ mv -v ${srcdir}/fakeinstall/usr/lib/python3.6 ${pkgdir}/usr/lib
+ mv -v ${srcdir}/fakeinstall/usr/share/man/man1/uzbl-browser.1 ${pkgdir}/usr/share/man/man1
+ mv -v ${srcdir}/fakeinstall/usr/share/man/man1/uzbl-event-manager.1 ${pkgdir}/usr/share/man/man1
+ mv -v ${srcdir}/fakeinstall/usr/share/{appdata,icons,uzbl} ${pkgdir}/usr/share/
+ mv -v ${srcdir}/fakeinstall/usr/share/applications/uzbl-core.desktop ${pkgdir}/usr/share/applications
+}
+
+package_uzbl-tabbed() {
+ pkgdesc="Tabbing manager providing multiple uzbl-browser instances in 1 window"
+ depends=('uzbl-browser' 'pygtk')
+
+ install -m755 -d ${pkgdir}/usr/{bin,share}
+ install -m755 -d ${pkgdir}/usr/share/applications
+
+ mv -v ${srcdir}/fakeinstall/usr/bin/uzbl-tabbed ${pkgdir}/usr/bin/
+ mv -v ${srcdir}/fakeinstall/usr/share/applications/uzbl-tabbed.desktop ${pkgdir}/usr/share/applications
+}
diff --git a/uzbl.install b/uzbl.install
new file mode 100644
index 00000000000..5cbf81efc3f
--- /dev/null
+++ b/uzbl.install
@@ -0,0 +1,17 @@
+post_install() {
+ /bin/true
+}
+
+post_upgrade() {
+ echo "If upgrading from pre-0.9, please refer to http://www.uzbl.org/news.php?id=42"
+}
+
+pre_remove() {
+ /bin/true
+}
+
+post_remove() {
+ /bin/true
+}
+
+# vim:set ts=2 sw=2 et: