diff options
Diffstat (limited to 'community/luakit')
-rw-r--r-- | community/luakit/PKGBUILD | 11 | ||||
-rw-r--r-- | community/luakit/luakit.install | 8 |
2 files changed, 13 insertions, 6 deletions
diff --git a/community/luakit/PKGBUILD b/community/luakit/PKGBUILD index c2e105479..af16ee713 100644 --- a/community/luakit/PKGBUILD +++ b/community/luakit/PKGBUILD @@ -3,14 +3,14 @@ pkgname=luakit pkgver=2011.07.22 -pkgrel=2 -pkgdesc='luakit is a highly configurable, micro-browser framework based on the WebKit web content engine and the GTK+ toolkit."Stable" release' +pkgrel=4 +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') +depends=('libwebkit' 'luafilesystem' 'libunique' 'desktop-file-utils') makedepends=('git' 'help2man') -options=(!makeflags) +options=(!makeflags) conflicts=('luakit-git' 'luakit-develop-git') install='luakit.install' source=("${pkgver}.tar.gz::https://github.com/mason-larobina/luakit/tarball/${pkgver}-r1") @@ -19,6 +19,9 @@ 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 } diff --git a/community/luakit/luakit.install b/community/luakit/luakit.install index c80d7609f..2c37d0597 100644 --- a/community/luakit/luakit.install +++ b/community/luakit/luakit.install @@ -4,7 +4,11 @@ post_install() { echo 'Or edit in place for global changes.' echo 'You NEED to replace local configs after each update' } - + post_upgrade() { - post_install ${1} + update-desktop-database -q +} + +post_remove() { + post_upgrade } |