1 # Contributor: unexist <unexist@dorfelite.net>
5 pkgdesc="A small ruby webkit/gtk browser"
7 url="http://subtle.de/projects/show/subtly"
9 depends=("ruby" "ruby-ffi" "libwebkit" "gtk2")
10 makedepends=("mercurial" "ruby")
15 _hgroot="http://hg.subtle.de"
19 msg "Connecting to mercurial repository..."
23 if [ -d "${hgrepo}" ]; then
25 hg pull -u -r ${pkgver}
28 hg clone -r ${pkgver} "${_hgroot}/${_hgrepo}"
32 msg "Mercurial clone finished."
33 msg "Starting rake..."
36 cp -r ${_hgrepo} ${_hgrepo}-build
39 rake destdir=${startdir}/pkg install || return 1
41 rm -rf "${srcdir}/${_hgrepo}-build"