diff options
author | root <root@rshg047.dnsready.net> | 2011-04-09 14:42:55 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-09 14:42:55 +0000 |
commit | f87ab435eb966ec44eb006c48699e6ee90613286 (patch) | |
tree | 28582481a3d3b5d8d82425bc3930f58a0572ae42 /community-testing/uzbl | |
parent | 59075f0265483f32e9ac4c67ba9e69cb019ba044 (diff) |
Sat Apr 9 14:42:55 UTC 2011
Diffstat (limited to 'community-testing/uzbl')
-rw-r--r-- | community-testing/uzbl/PKGBUILD | 63 | ||||
-rw-r--r-- | community-testing/uzbl/uzbl.install | 17 |
2 files changed, 80 insertions, 0 deletions
diff --git a/community-testing/uzbl/PKGBUILD b/community-testing/uzbl/PKGBUILD new file mode 100644 index 000000000..801d14d7d --- /dev/null +++ b/community-testing/uzbl/PKGBUILD @@ -0,0 +1,63 @@ +# $Id: PKGBUILD 44541 2011-04-08 10:25:36Z lcarlier $ +# 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') +pkgver=2011.03.17 +pkgrel=2 +arch=('i686' 'x86_64') +url="http://www.uzbl.org" +license=('GPL3') +makedepends=('git' 'pkgconfig' 'libwebkit>=1.3.13') +source=(uzbl-$pkgver.tar.gz::http://github.com/Dieterbe/uzbl/tarball/$pkgver) +md5sums=('fffd69136e0c4a9dce8875e776f7e97e') + +build() { + cd "$srcdir"/Dieterbe-uzbl-* + + # 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') + + make +} + +package_uzbl-core() { + pkgdesc="Webpage interface component meant for integration with other tools and scripts" + depends=('libwebkit') + 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"/Dieterbe-uzbl-* + + make DESTDIR="$pkgdir" PREFIX=/usr install-uzbl-core +} + +package_uzbl-browser() { + pkgdesc="A complete browser experience based on uzbl-core" + depends=("uzbl-core=$pkgver" 'socat' 'zenity' 'xclip' 'dmenu' 'python2') + + cd "$srcdir"/Dieterbe-uzbl-* + + make DESTDIR="$pkgdir" PREFIX=/usr install-uzbl-browser +} + +package_uzbl-tabbed() { + pkgdesc="Tabbing manager providing multiple uzbl-browser instances in 1 window" + depends=("uzbl-browser=$pkgver" 'pygtk') + + cd "$srcdir"/Dieterbe-uzbl-* + + make DESTDIR="$pkgdir" PREFIX=/usr install-uzbl-tabbed +} + diff --git a/community-testing/uzbl/uzbl.install b/community-testing/uzbl/uzbl.install new file mode 100644 index 000000000..ca5fc814b --- /dev/null +++ b/community-testing/uzbl/uzbl.install @@ -0,0 +1,17 @@ +post_install() { + /bin/true +} + +post_upgrade() { + echo "Some incompatibily are introduced, please refer to http://www.uzbl.org/news.php?id=32" +} + +pre_remove() { + /bin/true +} + +post_remove() { + /bin/true +} + +# vim:set ts=2 sw=2 et: |