summaryrefslogtreecommitdiff
path: root/repo/luakit/luakit.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
committerdavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
commit9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch)
tree278bbf05c72536a30e701eebbd3546ba137543e7 /repo/luakit/luakit.xibuild
parentf6332a43c35387c4a2dea1746be5fd092890ae0e (diff)
added python deps for libvirt
Diffstat (limited to 'repo/luakit/luakit.xibuild')
-rw-r--r--repo/luakit/luakit.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/repo/luakit/luakit.xibuild b/repo/luakit/luakit.xibuild
new file mode 100644
index 0000000..25d4b13
--- /dev/null
+++ b/repo/luakit/luakit.xibuild
@@ -0,0 +1,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
+}
+