summaryrefslogtreecommitdiff
path: root/repo/extra
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-10-06 21:04:28 +0100
committerdavidovski <david@davidovski.xyz>2021-10-06 21:04:28 +0100
commit9d965006a98553a7492532b707757685fa99fc7b (patch)
tree076c203b875971117f388c9fc000536590ddfd72 /repo/extra
parentbeb0e949f6189884cd31fdf0f95e5d35be6a2a93 (diff)
added xipkg
Diffstat (limited to 'repo/extra')
-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/
+}
+