1 # Contributor: Leonidas <marek@xivilization.net>
5 pkgdesc="A man's home is his castle. Never leave your dotfiles behind."
7 url="http://github.com/technicalpickles/homesick"
9 depends=(ruby ruby-thor)
10 # well, rubygems is part of the ruby package nowadays, but *shrug*
11 makedepends=(rubygems)
12 source=(http://rubygems.org/downloads/homesick-$pkgver.gem)
13 noextract=(homesick-$pkgver.gem)
14 md5sums=('27c8c96fb6b5c41f3edbec083f85bea5')
18 # _gemdir is defined inside build() because if ruby[gems] is not installed on the system
19 # makepkg will barf when sourcing the PKGBUILD
20 local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
21 # we want to write the 'homesick' binary to the $PATH
22 local _bindir="$pkgdir/usr/bin"
25 --ignore-dependencies \
26 --install-dir "$pkgdir$_gemdir" \