1 # Contributor: Havanna <havanna.sha{at}gmail{dot}com>
4 pkgname="cliofetion-hg"
7 pkgdesc="cliofetion is a command-line version of openfetion."
11 url="http://code.google.com/p/ofetion/"
14 depends=("openssl" "libxml2" "sqlite3" "libofetion-hg>=421")
15 makedepends=("mercurial" "pkg-config" "intltool" "cmake")
20 _hgroot=https://ofetion.googlecode.com/hg/
25 rm -rf "$srcdir/$_hgrepo-build"
26 cp -rf "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
27 cd "$srcdir/$_hgrepo-build/cliofetion"
29 cmake -DCMAKE_INSTALL_PREFIX=/usr .
34 cd "$srcdir/$_hgrepo-build/cliofetion"
35 make DESTDIR=${pkgdir} install