summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 20 insertions, 0 deletions
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"
+}