summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD20
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..96365b1dc52
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = jsonapiunit
+ pkgdesc = TypeScript like unit testing framework for testing REST JSON APIs.
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://github.com/whizsid/jsonapiunit
+ arch = i686
+ arch = x86_64
+ arch = armv6h
+ arch = armv7h
+ license = MIT
+ makedepends = rust
+ makedepends = cargo
+ source = jsonapiunit::git+https://github.com/whizsid/jsonapiunit#tag=0.1.0
+ md5sums = SKIP
+
+pkgname = jsonapiunit
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fdeda5399cb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: WhizSid <whizsid@aol.com>
+pkgname=jsonapiunit
+pkgver=0.1.0
+pkgrel=1
+makedepends=('rust' 'cargo')
+arch=('i686' 'x86_64' 'armv6h' 'armv7h')
+pkgdesc="TypeScript like unit testing framework for testing REST JSON APIs."
+url="https://github.com/whizsid/jsonapiunit"
+license=('MIT')
+source=('jsonapiunit::git+https://github.com/whizsid/jsonapiunit#tag=0.1.0')
+md5sums=('SKIP')
+
+build() {
+ cd $pkgname
+ cargo build --release --locked
+}
+
+package() {
+ install -Dm 755 "$srcdir/$pkgname/target/release/${pkgname}" -t "${pkgdir}/usr/bin"
+}