# Maintainer: Louis Jencka pkgbase=uzbl-next-git pkgrel=1 pkgname=("uzbl-core-next-git" "uzbl-browser-next-git" "uzbl-tabbed-next-git") pkgver=v0.9.1.191.g676b47e3 arch=("any") url="http://www.uzbl.org" license=("GPL3") depends=("webkitgtk" "webkit2gtk" "cairo") makedepends=("git" "python-wheel") 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" } build() { cd "$srcdir"/"$_gitname" make PREFIX=/usr } package_uzbl-core-next-git() { pkgdesc="Webpage interface component meant for integration with other tools and scripts" provides=("uzbl-core") conflicts=("uzbl-core") optdepends=("socat: to interface with the socket" "dmenu: to run some of the example scripts" "zenity: to run some of the example scripts" "python: to run some of the example scripts" "xclip: for clipboard related keybindings" "pygtk: for uzbl-tabbed") install=uzbl.install cd "$srcdir/$_gitname" make clean local CFLAGS="--param=ssp-buffer-size=4" make DESTDIR="$pkgdir" PREFIX=/usr install-uzbl-core # remove conflicting libraries rm -rf "$pkgdir/usr/lib" } package_uzbl-browser-next-git() { install=uzbl.install arch=("any") pkgdesc="A complete browser experience based on uzbl-core" depends=("uzbl-core-next-git=$pkgver" "desktop-file-utils" "python" "python2" "python-six") provides=("uzbl-browser") conflicts=("uzbl-browser") install -d $pkgdir/usr/share/appdata cd "$srcdir/$_gitname" make DESTDIR="$pkgdir" PREFIX=/usr install-uzbl-browser # avoid conflicts rm -f $pkgdir/usr/bin/uzbl-core \ $pkgdir/usr/share/uzbl/docs/* \ $pkgdir/usr/bin/uzbl-tabbed \ $pkgdir/usr/share/man/man1/uzbl-core.1 } package_uzbl-tabbed-next-git() { pkgdesc="Tabbing manager providing multiple uzbl-browser instances in 1 window" arch=("any") depends=("uzbl-browser-next-git=$pkgver" "python2" "pygtk") provides=("uzbl-tabbed") conflicts=("uzbl-tabbed") cd "$srcdir/$_gitname" make DESTDIR="$pkgdir/" PREFIX=/usr install-uzbl-tabbed }