updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / cliofetion-hg / PKGBUILD
blob2f3e379d18f3b11236e868850d7503f6e57a0239
1 # Contributor: Havanna <havanna.sha{at}gmail{dot}com>
4 pkgname="cliofetion-hg"
5 pkgver=421
6 pkgrel=1
7 pkgdesc="cliofetion is a command-line version of openfetion."
9 arch=("i686" "x86_64")
11 url="http://code.google.com/p/ofetion/"
12 license=("GPL")
14 depends=("openssl" "libxml2" "sqlite3" "libofetion-hg>=421")
15 makedepends=("mercurial" "pkg-config" "intltool" "cmake")
17 source=()
18 md5sums=()
20 _hgroot=https://ofetion.googlecode.com/hg/
21 _hgrepo=cliofetion
23 build() {
24         cd "$srcdir"
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 .
30         make
33 package(){
34         cd "$srcdir/$_hgrepo-build/cliofetion"
35         make DESTDIR=${pkgdir} install