1 # Maintainer: Blaž Tomažič <blaz.tomazic@gmail.com>
6 pkgdesc="Unofficial Vala vapi files"
8 url="http://hg.youterm.com/vala-vapis/"
11 makedepends=('mercurial' 'git' 'wget')
12 provides=('vala-vapis')
13 conflicts=('vala-vapis')
15 _hgroot="http://hg.youterm.com"
20 msg "Connecting to Mercurial server...."
22 if [[ -d "$_hgrepo" ]]; then
25 msg "The local files are updated."
27 hg clone "$_hgroot" "$_hgrepo"
30 msg "Mercurial checkout done or server timeout"
31 msg "Starting build..."
33 rm -rf "$srcdir/$_hgrepo-build"
34 cp -r "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
35 cd "$srcdir/$_hgrepo-build"
41 cd "$srcdir/$_hgrepo-build"
42 make DESTDIR="$pkgdir/" install
45 # vim:set ts=2 sw=2 et: