diff options
| author | Shokara Kou <kou@13f0.net> | 2022-05-13 11:37:04 -0400 |
|---|---|---|
| committer | Shokara Kou <kou@13f0.net> | 2022-12-10 16:12:53 -0500 |
| commit | a4dd348e90ecc984cd3deee39d9a0483cda20ce1 (patch) | |
| tree | 69c54e17aeb03e5f2428e1d385d7c7522478f682 /samurai | |
| parent | 7f8d9adc5b1bc307309c22c6fdcde9b509b81062 (diff) | |
add samurai and muon (ninja/meson alternatives)
Diffstat (limited to 'samurai')
| -rw-r--r-- | samurai/.footprint | 8 | ||||
| -rw-r--r-- | samurai/.md5sum | 0 | ||||
| -rw-r--r-- | samurai/Pkgfile | 23 |
3 files changed, 31 insertions, 0 deletions
diff --git a/samurai/.footprint b/samurai/.footprint new file mode 100644 index 0000000..e4051fc --- /dev/null +++ b/samurai/.footprint | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | drwxr-xr-x root/root usr/ | ||
| 2 | drwxr-xr-x root/root usr/bin/ | ||
| 3 | lrwxrwxrwx root/root usr/bin/ninja -> samu | ||
| 4 | -rwxr-xr-x root/root usr/bin/samu | ||
| 5 | drwxr-xr-x root/root usr/share/ | ||
| 6 | drwxr-xr-x root/root usr/share/man/ | ||
| 7 | drwxr-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 | |||
| 6 | name=samurai | ||
| 7 | commit=4cc8f4a3 | ||
| 8 | version=git-$commit | ||
| 9 | release=1 | ||
| 10 | source=() | ||
| 11 | |||
| 12 | gitcommit=https://git.sr.ht/~mcf/samurai/ | ||
| 13 | |||
| 14 | build() { | ||
| 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 | } | ||
