1 # Contributor: unexist <unexist@dorfelite.net>
2 # Contributor: manveru <m.fellinger@gmail.com>
3 # Contributor: Xilon <xilonmu@gmail.com>
7 pkgdesc="A grid-based manual tiling window manager with a strong focus on easy but customizable look and feel"
9 url="http://subtle.subforge.org"
11 depends=("libx11" "ruby" "ruby-minitar")
12 makedepends=("mercurial" "ruby" "pkg-config")
14 conflicts=("subtle" "sur-hg")
15 replaces=("subtle-svn")
16 backup=("etc/xdg/subtle/subtle.rb")
20 _hgroot="http://hg.subforge.org"
25 msg "Connecting to Mercurial server...."
27 if [ -d $_hgrepo ] ; then
29 hg pull -u || return 1
30 msg "The local files are updated."
32 hg clone $_hgroot $_hgrepo || return 1
35 msg "Mercurial checkout done or server timeout"
36 msg "Starting make..."
38 rm -rf "$srcdir/$_hgrepo-build"
39 cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
43 cd "$srcdir/$_hgrepo-build"
44 rake destdir=${startdir}/pkg install || return 1