From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- ...0001-Dont-mark-desktop-file-as-executable.patch | 24 +++++++++++++++ community/luakit/PKGBUILD | 35 ++++++++++++++++++++++ community/luakit/luakit.install | 14 +++++++++ 3 files changed, 73 insertions(+) create mode 100644 community/luakit/0001-Dont-mark-desktop-file-as-executable.patch create mode 100644 community/luakit/PKGBUILD create mode 100644 community/luakit/luakit.install (limited to 'community/luakit') diff --git a/community/luakit/0001-Dont-mark-desktop-file-as-executable.patch b/community/luakit/0001-Dont-mark-desktop-file-as-executable.patch new file mode 100644 index 000000000..8cccb88c1 --- /dev/null +++ b/community/luakit/0001-Dont-mark-desktop-file-as-executable.patch @@ -0,0 +1,24 @@ +From d3f47d51ab68054ceb3415971455ca2c036b395f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= +Date: Thu, 12 Apr 2012 16:43:41 +0200 +Subject: [PATCH] Don't mark desktop file as executable. + +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index be1567b..50973d6 100644 +--- a/Makefile ++++ b/Makefile +@@ -78,7 +78,7 @@ install: + install -d $(DESTDIR)/usr/share/pixmaps + install extras/luakit.png $(DESTDIR)/usr/share/pixmaps/ + install -d $(DESTDIR)/usr/share/applications +- install extras/luakit.desktop $(DESTDIR)/usr/share/applications/ ++ install -m0644 extras/luakit.desktop $(DESTDIR)/usr/share/applications/ + install -d $(MANPREFIX)/man1/ + install -m644 luakit.1 $(MANPREFIX)/man1/ + +-- +1.7.10 diff --git a/community/luakit/PKGBUILD b/community/luakit/PKGBUILD new file mode 100644 index 000000000..ca99340cb --- /dev/null +++ b/community/luakit/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 81116 2012-12-12 00:49:28Z eric $ +# Maintainer: Bartłomiej Piotrowski +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: J. W. Birdsong + +pkgname=luakit +pkgver=2012.09.13.r1 +_pkgver=2012.09.13-r1 +pkgrel=5 +pkgdesc='Fast, small, webkit based browser framework extensible by Lua' +arch=('i686' 'x86_64') +url='http://mason-larobina.github.com/luakit/' +license=('GPL3') +depends=('libwebkit' 'lua51-filesystem' 'libunique' 'desktop-file-utils' 'luajit') +makedepends=('git' 'help2man') +options=(!makeflags) +install='luakit.install' +source=($pkgname-$pkgver.tar.gz::https://github.com/mason-larobina/luakit/tarball/$_pkgver) +md5sums=('77b02e6d19ba021409f1778fddd94a42') + +build() { + cd mason-larobina-luakit-* + + # use luajit to run script needed at build + sed -i '1s,lua,luajit,' build-utils/gentokens.lua + + make USE_LUAJIT=1 PREFIX=/usr all +} + +package() { + cd mason-larobina-luakit-* + make PREFIX=/usr DESTDIR=$pkgdir install + + chmod -x $pkgdir/usr/share/pixmaps/luakit.png # FS#32938 +} diff --git a/community/luakit/luakit.install b/community/luakit/luakit.install new file mode 100644 index 000000000..3010f25a4 --- /dev/null +++ b/community/luakit/luakit.install @@ -0,0 +1,14 @@ +post_install() { + echo 'Configuration files are located in /etc/xdg/luakit/*.lua' + echo 'Copy them to ~/.config/luakit/ (this folder is created on 1st start of Luakit) for local config.' + echo 'You can edit them in place for global changes.' + echo 'You NEED to replace local configs after each update!' +} + +post_upgrade() { + update-desktop-database -q +} + +post_remove() { + post_upgrade +} -- cgit v1.2.3-54-g00ecf