1 # Maintainer: Tim Meusel <tim@bastelfreak.de>
3 _gemname='minitest-proveit'
4 pkgname="ruby-${_gemname}"
7 pkgdesc='forces all tests to prove success (via at least one assertion) rather than rely on the absence of failure.'
9 url='https://github.com/seattlerb/minitest-proveit'
12 makedepends=('ruby-hoe' 'ruby-bundler' 'git' 'ruby-rake')
13 checkdepends=('ruby-minitest')
14 options=('!emptydirs')
15 source=("git+${url}#commit=1d86852bd820e1dc4f2d204231f1ebbc1b146075")
19 cd "${srcdir}/${_gemname}"
24 cd "${srcdir}/${_gemname}"
29 cd "${srcdir}/${_gemname}"
34 cd "${srcdir}/${_gemname}"
35 local _gemdir="$(gem env gemdir)"
36 gem install --verbose --ignore-dependencies --no-user-install --install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "pkg/${_gemname}-${pkgver}.gem"
38 install -Dm 644 README.rdoc History.rdoc -t "${pkgdir}/usr/share/doc/${pkgname}"
40 rm -rf "${pkgdir}/${_gemdir}/cache"