1 # Maintainer: Adriano Foschi <adriano.src@gmail.com>
3 pkgname=wayland-eagle-git
6 pkgdesc="Eagle library branch for Wayland display server."
8 url="http://mesa3d.org/"
10 depends=('glproto=1.4.10' 'wayland-libdrm-git' 'wayland-dri2proto-git' 'wayland-mesa-git')
11 makedepends=('pkgconfig')
14 _gitroot="http://cgit.freedesktop.org/~krh/eagle"
18 msg "Connecting to git.freedesktop.org GIT server...."
20 if [ -d $startdir/src/$_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf $startdir/src/$_gitname-build
31 cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
32 cd $startdir/src/$_gitname-build
34 cd "${startdir}/src/eagle-build"
36 ./configure --prefix=/usr || return 1
38 make DESTDIR="${pkgdir}" install || return 1