1 # Contributor: Alfredo Palhares <masterkorp at masterkorp dot net>
5 pkgdesc="Tool written in ruby to convert svn repos to git"
7 url="https://github.com/nirvdrum/svn2git"
8 # This tool has nothing to do with svn2git-git in the AUR
9 # But yet they share the same name
10 conflicts=('svn2git-git')
12 depends=('ruby' 'git')
14 makedepends=(rubygems)
15 source=(https://github.com/nirvdrum/svn2git/tarball/v$pkgver)
16 md5sums=('832b99f8bfde77a3e81e351b466820eb')
19 cd $srcdir/nirvdrum-svn2git-0fca5c1
20 gem build svn2git.gemspec
23 cd $srcdir/nirvdrum-svn2git-0fca5c1
24 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
25 gem install --ignore-dependencies -i "$pkgdir$_gemdir" svn2git-$pkgver.gem