summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShokara Kou <kou@13f0.net>2022-05-13 11:37:04 -0400
committerShokara Kou <kou@13f0.net>2022-12-10 16:12:53 -0500
commita4dd348e90ecc984cd3deee39d9a0483cda20ce1 (patch)
tree69c54e17aeb03e5f2428e1d385d7c7522478f682
parent7f8d9adc5b1bc307309c22c6fdcde9b509b81062 (diff)
add samurai and muon (ninja/meson alternatives)
-rw-r--r--muon/.footprint4
-rw-r--r--muon/.md5sum0
-rw-r--r--muon/Pkgfile25
-rw-r--r--samurai/.footprint8
-rw-r--r--samurai/.md5sum0
-rw-r--r--samurai/Pkgfile23
6 files changed, 60 insertions, 0 deletions
diff --git a/muon/.footprint b/muon/.footprint
new file mode 100644
index 0000000..042909c
--- /dev/null
+++ b/muon/.footprint
@@ -0,0 +1,4 @@
1drwxr-xr-x root/root usr/
2drwxr-xr-x root/root usr/bin/
3lrwxrwxrwx root/root usr/bin/meson -> muon
4-rwxr-xr-x root/root usr/bin/muon
diff --git a/muon/.md5sum b/muon/.md5sum
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/muon/.md5sum
diff --git a/muon/Pkgfile b/muon/Pkgfile
new file mode 100644
index 0000000..e665924
--- /dev/null
+++ b/muon/Pkgfile
@@ -0,0 +1,25 @@
1# Description: meson implementation in C
2# URL: https://sr.ht/~lattis/muon/
3# Maintainer: Shokara Kou, kou at 13f0 dot net
4# Depends on: git ninja
5
6name=muon
7commit=30d2e7a
8version=git-$commit
9release=1
10source=()
11
12gitsource=https://git.sr.ht/~lattis/muon/
13
14build() {
15 git clone $gitsource
16 cd $name
17 git checkout $commit
18
19 ./bootstrap.sh build
20 build/muon setup build
21 ninja -C build
22
23 install -Dm755 -t $PKG/usr/bin build/muon
24 ln -s muon $PKG/usr/bin/meson
25}
diff --git a/samurai/.footprint b/samurai/.footprint
new file mode 100644
index 0000000..e4051fc
--- /dev/null
+++ b/samurai/.footprint
@@ -0,0 +1,8 @@
1drwxr-xr-x root/root usr/
2drwxr-xr-x root/root usr/bin/
3lrwxrwxrwx root/root usr/bin/ninja -> samu
4-rwxr-xr-x root/root usr/bin/samu
5drwxr-xr-x root/root usr/share/
6drwxr-xr-x root/root usr/share/man/
7drwxr-xr-x root/root usr/share/man/man1/
8-rw-r--r-- root/root usr/share/man/man1/samu.1.gz
diff --git a/samurai/.md5sum b/samurai/.md5sum
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/samurai/.md5sum
diff --git a/samurai/Pkgfile b/samurai/Pkgfile
new file mode 100644
index 0000000..5ad6f1b
--- /dev/null
+++ b/samurai/Pkgfile
@@ -0,0 +1,23 @@
1# Description: ninja-compatible build tool written in C
2# URL: https://sr.ht/~mcf/samurai/
3# Maintainer: Shokara Kou, kou at 13f0 dot net
4# Depends on:
5
6name=samurai
7commit=4cc8f4a3
8version=git-$commit
9release=1
10source=()
11
12gitcommit=https://git.sr.ht/~mcf/samurai/
13
14build() {
15 git clone $gitcommit
16 cd $name
17 git checkout $commit
18
19 make
20 make PREFIX=/usr DESTDIR=$PKG install
21
22 ln -s samu $PKG/usr/bin/ninja
23}