updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / cmigemo-hg / PKGBUILD
blobbf0b6a39bd42bc57fb935320a13db07b73514f83
1 # Maintainer: anekos <anekos@snca.net>
2 pkgname=cmigemo-hg
3 pkgver=20120110
4 pkgrel=1
5 pkgdesc="C/Migemo - Migemo library implemented in C"
6 url="http://www.kaoriya.net/"
7 arch=('i686' 'x86_64')
8 license=('BSD')
9 depends=()
10 optdepends=()
11 makedepends=()
12 conflicts=('cmigemo')
13 replaces=()
14 backup=()
16 source=('configure.patch')
17 md5sums=('0f163e24a93bdc3694475b284393fd4b')
19 _reposroot="https://code.google.com/p/cmigemo/"
20 _reposname="cmigemo"
22 build () {
23   cd $srcdir
25   if [ -d "$_reposname" ]
26   then
27     cd $_reposname && hg revert --all && hg pull -u
28   else
29     hg clone $_reposroot && cd $_reposname
30   fi
32   patch < ../../configure.patch
34   ./configure && make gcc && make gcc-dict
37 package () {
38   cd $srcdir/$_reposname
39   make gcc-install prefix=${pkgdir}/usr docdir=${pkgdir}/usr/share/doc/migemo
42 # vim:set ts=2 sw=2 et: