1 # Maintainer: Adam Russell <adamlr6+arch@gmail.com>
5 pkgdesc="Next generation packaging system for Ruby"
7 url="http://hellorip.com/"
10 source=(http://github.com/defunkt/rip/tarball/v${pkgver})
11 md5sums=('0e5a06ee41fa5c9c3d3b4b946984cd21')
20 local _sitedir="$(ruby -e'puts $:.grep(/site_ruby[\/\\][\d.]+$/)[0]')"
21 local _libdir="${pkgdir}${_sitedir}"
22 local _bindir="${pkgdir}/usr/bin"
23 local _srcname=`tar -tf v${pkgver} | head -n 1 | xargs basename`
29 ruby setup.rb --libdir="${_libdir}" --bindir="${_bindir}" || return 1