summaryrefslogtreecommitdiff
path: root/devel/samurai/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /devel/samurai/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'devel/samurai/MAKEPKG')
-rw-r--r--devel/samurai/MAKEPKG27
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/samurai/MAKEPKG b/devel/samurai/MAKEPKG
new file mode 100644
index 0000000..d84b493
--- /dev/null
+++ b/devel/samurai/MAKEPKG
@@ -0,0 +1,27 @@
+#!/bin/mkpkg
+# description: Ninja-compatible build tool written in C
+# url: https://github.com/nicknash/samurai
+
+name=samurai
+version=1.3
+release=1
+provides=(ninja)
+source=(https://github.com/michaelforney/samurai/releases/download/$version/$name-$version.tar.gz)
+
+sha256sums=(
+ "1bc020a9e133432df51911ac71cc34322f828934d9a2282ba2916d88c15976af"
+)
+
+build() {
+ cd $name-$version
+ make CC="${CC:-cc}"
+ install -Dm755 samu $PKG/usr/bin/samu
+ ln -s samu $PKG/usr/bin/ninja
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh