From 1367351ea89044d813c84bc2bf73ef241ed8909d Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 15 Aug 2017 15:51:28 +0200 Subject: [PATCH] luakit: update to 2017.08.10 --- srcpkgs/luakit/template | 35 ++++++++++------------------------- 1 file changed, 10 insertions(+), 25 deletions(-) diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template index 795f3fcd85d..7226964cb79 100644 --- a/srcpkgs/luakit/template +++ b/srcpkgs/luakit/template @@ -1,36 +1,21 @@ # Template file for 'luakit' pkgname=luakit -_distver=2012.09.13 -_patchver=r1 -version=${_distver}.${_patchver} -revision=5 -hostmakedepends="pkg-config help2man" -makedepends="webkitgtk2-devel lua52-devel luafilesystem libunique1-devel sqlite-devel LuaJIT-devel" -depends="desktop-file-utils luafilesystem" -conf_files=" - /etc/xdg/luakit/webview.lua - /etc/xdg/luakit/binds.lua - /etc/xdg/luakit/globals.lua - /etc/xdg/luakit/rc.lua - /etc/xdg/luakit/modes.lua - /etc/xdg/luakit/window.lua - /etc/xdg/luakit/theme.lua" +version=2017.08.10 +revision=1 +hostmakedepends="pkg-config" +makedepends="webkit2gtk-devel luafilesystem LuaJIT-devel" +depends="luafilesystem" +conf_files="/etc/xdg/luakit/*.lua" short_desc="Fast, small, webkit based browser framework extensible by Lua" maintainer="Juan RP " license="GPL-3" -homepage="http://mason-larobina.github.com/luakit" -distfiles="https://github.com/mason-larobina/luakit/archive/${_distver}-${_patchver}.tar.gz" -checksum=a2d0a0cdf802fad2a83ef83ec87e7f4bfb61d76da4f48cd8f512085eee1aef18 -wrksrc=$pkgname-$_distver-$_patchver +homepage="http://luakit.org/" +distfiles="https://github.com/luakit/luakit/archive/${version}.tar.gz" +checksum=23d98b6b51b66c85b6823cd287e161e1093b80639f06f1da9b0a7290b0859d37 -pre_build() { - # use luajit to run script needed at build - sed -i '1s,lua,luajit,' build-utils/gentokens.lua -} do_build() { - make USE_LUAJIT=1 PREFIX=/usr all + make DEVELOPMENT_PATHS=0 USE_LUAJIT=1 PREFIX=/usr all } do_install() { make PREFIX=/usr DESTDIR=${DESTDIR} install - chmod -x ${DESTDIR}/usr/share/pixmaps/luakit.png }