summaryrefslogtreecommitdiff
path: root/community/luakit
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-22 03:54:26 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-22 03:54:26 +0000
commitc9e4976968b0f847cc693453df1e947531af2e76 (patch)
tree05361687b4ad1463a2eae8449272d074925421eb /community/luakit
parent6f1efdf04cd569f1191e365ac4c5d473bdfe2c15 (diff)
Wed Jan 22 03:51:02 UTC 2014
Diffstat (limited to 'community/luakit')
-rw-r--r--community/luakit/PKGBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/community/luakit/PKGBUILD b/community/luakit/PKGBUILD
index ca99340cb..4a24f7182 100644
--- a/community/luakit/PKGBUILD
+++ b/community/luakit/PKGBUILD
@@ -1,35 +1,36 @@
-# $Id: PKGBUILD 81116 2012-12-12 00:49:28Z eric $
-# Maintainer: Bartłomiej Piotrowski
+# $Id: PKGBUILD 104487 2014-01-21 17:50:07Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# 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'
+pkgrel=6
+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')
+depends=('webkitgtk2' 'lua51-filesystem' 'libunique' 'desktop-file-utils' 'luajit')
+makedepends=('help2man')
options=(!makeflags)
install='luakit.install'
source=($pkgname-$pkgver.tar.gz::https://github.com/mason-larobina/luakit/tarball/$_pkgver)
md5sums=('77b02e6d19ba021409f1778fddd94a42')
-build() {
+prepare() {
cd mason-larobina-luakit-*
-
- # use luajit to run script needed at build
sed -i '1s,lua,luajit,' build-utils/gentokens.lua
+}
+build() {
+ cd mason-larobina-luakit-*
make USE_LUAJIT=1 PREFIX=/usr all
}
package() {
cd mason-larobina-luakit-*
- make PREFIX=/usr DESTDIR=$pkgdir install
+ make PREFIX=/usr DESTDIR="$pkgdir" install
- chmod -x $pkgdir/usr/share/pixmaps/luakit.png # FS#32938
+ chmod -x "$pkgdir"/usr/share/pixmaps/luakit.png # FS#32938
}