updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / ofetion-hg / PKGBUILD
blob2e8a80dcd27412dc3ca8eb6728e7d425c274c835
1 # Contributor: Havanna <havanna.sha{at}gmail{dot}com>
4 pkgname="ofetion-hg"
5 pkgver=421
6 pkgrel=1
7 pkgdesc="OpenFetion a IM client based on GTK+2.0, using CHINA MOBILE's Fetion Protocol Version 4."
9 arch=("i686" "x86_64")
11 url="http://code.google.com/p/ofetion/"
12 license=("GPL")
14 depends=("openssl" "libxml2" "gtk2" "sqlite3" "librsvg" "libofetion-hg>=421")
15 makedepends=("mercurial" "pkg-config" "intltool" "cmake")
16 optdepends=("libnotify" "gstreamer0.10" "networkmanager" "libxss")
18 source=()
19 md5sums=()
21 _hgroot=https://ofetion.googlecode.com/hg/
22 _hgrepo=ofetion
24 build() {
25         cd "$srcdir"
26         rm -rf "$srcdir/$_hgrepo-build"
27         cp -rf "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
28         cd "$srcdir/$_hgrepo-build/openfetion"
30         cmake -DCMAKE_INSTALL_PREFIX=/usr .
31         make
34 package(){
35         cd "$srcdir/$_hgrepo-build/openfetion"
36         make DESTDIR=${pkgdir} install