1 # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
5 pkgdesc="The X.org dependency generator"
8 url="http://freedesktop.org"
9 makedepends=('git' 'xorg-util-macros')
10 _gitroot=git://git.freedesktop.org/git/xorg/util/makedepend
16 msg "Getting source from git..."
17 if [ -d $startdir/src/$_gitname ] ; then
18 cd $_gitname && git pull origin
23 cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
24 cd $startdir/src/$_gitname-build
26 msg "Running autogen..."
31 install -D -m0755 makedepend "$pkgdir/usr/bin/makedepend"
34 rm -rf $startdir/src/$_gitname-build