summaryrefslogtreecommitdiff
path: root/community/luakit/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/luakit/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/luakit/PKGBUILD')
-rw-r--r--community/luakit/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
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 <jwbirdsong AT gmail DOT com>
+
+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
+}