summaryrefslogtreecommitdiff
path: root/skip/luakit
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
committerdavidovski <david@davidovski.xyz>2023-02-02 14:10:02 +0000
commitf29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (patch)
tree76fe6267f8307e7630fc6f53ff99a9767ad40de0 /skip/luakit
parent05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (diff)
Work
Diffstat (limited to 'skip/luakit')
-rw-r--r--skip/luakit/luakit.xibuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/skip/luakit/luakit.xibuild b/skip/luakit/luakit.xibuild
new file mode 100644
index 0000000..25d4b13
--- /dev/null
+++ b/skip/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
+}
+