2 # Contributor: Will Chappell <wtchappell@gmail.com>
3 # Contributor: maleadt <tim.besard@gmail.com>
9 pkgdesc="GNOME C++ common macros."
10 arch=('i686' 'x86_64')
11 url="http://git.gnome.org/browse/mm-common/"
14 provides=("mm-common")
16 _gitroot="git://git.gnome.org/mm-common"
21 msg "Connecting to GIT server..."
22 if [[ -d $srcdir/$pkgname ]]; then
23 cd $srcdir/$pkgname && git pull origin || return 1
25 git clone $_gitroot $srcdir/$pkgname || return 1
29 msg "GIT checkout done or server timeout"
31 cd "${srcdir}/${pkgname}"
33 ./configure --prefix=/usr || return 1
35 make DESTDIR="${pkgdir}" install || return 1