summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ece8b0433ba1e428e02dad49b14be8741f5bb3ee (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.3
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.3')
md5sums=('SKIP')

build() {
    cd $pkgname
    cargo build --release
}

package() {
    install -Dm 755 "$srcdir/$pkgname/target/release/${pkgname}" -t "${pkgdir}/usr/bin"
}