summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repo/extra/xibuild.xibuild1
-rw-r--r--repo/extra/xipkg.xibuild16
2 files changed, 16 insertions, 1 deletions
diff --git a/repo/extra/xibuild.xibuild b/repo/extra/xibuild.xibuild
index e6568eb..029efdc 100644
--- a/repo/extra/xibuild.xibuild
+++ b/repo/extra/xibuild.xibuild
@@ -6,7 +6,6 @@ SOURCE=https://git.davidovski.xyz/xilinux/xibuild.git
DESC="The build system for xilinux used to build packages and maintain repositories"
package () {
- return 1
mkdir -pv $PKG_DEST/usr/bin
cp -v xibuild $PKG_DEST/usr/bin/
cp xibuild $PKG_DEST/usr/bin/
diff --git a/repo/extra/xipkg.xibuild b/repo/extra/xipkg.xibuild
new file mode 100644
index 0000000..f89a97d
--- /dev/null
+++ b/repo/extra/xipkg.xibuild
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+DEPS=(bash tar)
+
+SOURCE=https://git.davidovski.xyz/xilinux/xipkg.git
+DESC="The xilinux package manager"
+
+build () {
+ make
+}
+
+package () {
+ mkdir -pv $PKG_DEST/usr/bin
+ cp -v ./bin/xi $PKG_DEST/usr/bin/
+}
+