summaryrefslogtreecommitdiff
path: root/skip/luakit/luakit.xibuild
blob: 25d4b13be88e5ca17dfbaee4850b6d2e413f36c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

NAME="luakit"
DESC="Fast, small, webkit based browser framework extensible by Lua"

MAKEDEPS="webkit2gtk luajit"

PKG_VER=2.3
SOURCE="https://github.com/luakit/luakit/archive/$PKG_VER.tar.gz"

build() {
	make PREFIX=/usr USE_LUAJIT=1 DEVELOPMENT_PATHS=0
}

check() {
	make run-tests
}

package() {
	make PREFIX=/usr DESTDIR="$PKG_DEST" install
	mkdir -p "$PKG_DEST"/usr/share/doc/"luakit"
	mv "$PKG_DEST"/usr/share/"luakit"/doc/* "$PKG_DEST"/usr/share/doc/"luakit"
	rmdir "$PKG_DEST"/usr/share/"luakit"/doc
}