1 # Contributor: lh <jason52lh@gmail.com>
3 pkgname=fcitx-configtool-hg
6 pkgdesc="Fcitx Config Tool"
7 url="http://code.google.com/p/fcitx"
10 depends=('gtk2' 'fcitx' 'libunique')
11 makedepends=('mercurial' 'intltool' 'cmake')
14 conflicts=('fcitx-config' 'fcitx-configtool')
15 provides=('fcitx-config' 'fcitx-configtool')
17 install=fcitx-configtool.install
21 _hgroot=https://fcitx-config.fcitx.googlecode.com/hg/
22 _hgrepo=fcitx-configtool
27 msg "Starting make..."
29 rm -rf "$srcdir/$_hgrepo-build"
30 cp -rf "$srcdir/$_hgrepo" "$srcdir/$_hgrepo-build"
31 cd "$srcdir/$_hgrepo-build"
33 cmake -DCMAKE_INSTALL_PREFIX=/usr .
37 cd "$srcdir/$_hgrepo-build"
38 make DESTDIR=${pkgdir} install