# Maintainer: Thomas Dziedzic < gostrc at gmail > # Contributor: J. W. Birdsong pkgname=luakit pkgver=2011.07.22 pkgrel=3 pkgdesc='Highly configurable, micro-browser framework based on the WebKit web content engine and the GTK+ toolkit. "Stable" release.' arch=('i686' 'x86_64') url='http://www.luakit.org/projects/luakit' license=('GPL3') depends=('libwebkit' 'luafilesystem' 'libunique' 'desktop-file-utils') makedepends=('git' 'help2man') options=(!makeflags) conflicts=('luakit-git' 'luakit-develop-git') install='luakit.install' source=("${pkgver}.tar.gz::https://github.com/mason-larobina/luakit/tarball/${pkgver}-r1") md5sums=('4937deb6bc81416e2deb037f4a5763e4') build() { cd mason-larobina-luakit-* # Add missing library to PKGS in config.mk sed -i 's|PKGS := .*|& javascriptcoregtk-1.0|' config.mk make PREFIX=/usr DESTDIR=${pkgdir} all } package() { cd mason-larobina-luakit-* make PREFIX=/usr DESTDIR=${pkgdir} install }