summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fdeda5399cb4ce4b562ede4093c904f4e36dece9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"
}