aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD20
-rw-r--r--README.md2
4 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..d3ba188c184f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = ninja-samurai
+ pkgdesc = Compatibility package to use Samurai instead of Ninja Build
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/Salamandar/ninja-samurai
+ arch = any
+ license = GPL
+ depends = samurai
+ provides = ninja
+ conflicts = ninja
+
+pkgname = ninja-samurai
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..a8eff1e7d1af
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+pkg/
+*.tar*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..56e078f798fd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Salamandar <felix@piedallu.me>
+
+pkgname=ninja-samurai
+pkgver=1.0
+pkgrel=1
+pkgdesc='Compatibility package to use Samurai instead of Ninja Build'
+arch=('any')
+url='https://github.com/Salamandar/ninja-samurai'
+license=(GPL)
+depends=('samurai')
+provides=('ninja')
+conflicts=('ninja')
+
+source=()
+md5sums=()
+
+package() {
+ install -d "$pkgdir/usr/bin"
+ ln -s samu "$pkgdir/usr/bin/ninja"
+}
diff --git a/README.md b/README.md
new file mode 100644
index 000000000000..db10842be5f2
--- /dev/null
+++ b/README.md
@@ -0,0 +1,2 @@
+# ninja-samurai
+Compatibility package to use Samurai instead of Ninja Build