summaryrefslogtreecommitdiff
path: root/community/luakit
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-14 00:01:25 +0000
committerroot <root@rshg054.dnsready.net>2012-04-14 00:01:25 +0000
commit0e10d859eadd7643a12b184cc0a7176ef0d4b56b (patch)
tree44301575507e3d46cb31e6b291e4cc02f7a1b373 /community/luakit
parent7ff5465d0386f06bea97ef956397c305d6f7e07f (diff)
Sat Apr 14 00:01:25 UTC 2012
Diffstat (limited to 'community/luakit')
-rw-r--r--community/luakit/0001-Dont-mark-desktop-file-as-executable.patch25
-rw-r--r--community/luakit/PKGBUILD9
2 files changed, 31 insertions, 3 deletions
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..4553df933
--- /dev/null
+++ b/community/luakit/0001-Dont-mark-desktop-file-as-executable.patch
@@ -0,0 +1,25 @@
+From d3f47d51ab68054ceb3415971455ca2c036b395f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= <b@bpiotrowski.pl>
+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
index da4fda4cf..82744de47 100644
--- a/community/luakit/PKGBUILD
+++ b/community/luakit/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=luakit
pkgver=2012.03.25
-pkgrel=1
+pkgrel=2
pkgdesc='Fast, small, webkit based browser framework extensible by Lua'
arch=('i686' 'x86_64')
url='http://www.luakit.org/projects/luakit'
@@ -14,11 +14,14 @@ 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}")
-md5sums=('e25aaeacfa5758127b3f677eafba9aa2')
+source=("${pkgver}.tar.gz::https://github.com/mason-larobina/luakit/tarball/${pkgver}"
+ 0001-Dont-mark-desktop-file-as-executable.patch)
+md5sums=('e25aaeacfa5758127b3f677eafba9aa2'
+ 'a1caf95b03659cd02a392a376a13edd7')
build() {
cd mason-larobina-luakit-*
+ patch -Np1 -i $srcdir/0001-Dont-mark-desktop-file-as-executable.patch
make USE_LUAJIT=1 PREFIX=/usr DESTDIR=${pkgdir} all
}