1 # Old Contributor: Michele Gastaldo <pikiweb@gmail.com>
2 # Contributor: twa022 <twa022 at gmail dot com>
7 pkgdesc="OpenGL compositing manager based on compiz"
9 url="http://code.google.com/p/itask-module/wiki/Stuff"
11 depends=('libxslt' 'mesa' 'e-svn' 'mesa-demos')
12 makedepends=('intltool' 'git' 'automake' 'pkgconfig')
18 _gitroot="git://github.com/jeffdameth/ecomp"
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_gitname-build"
37 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
41 LDFLAGS="-Wl,--hash-style=gnu"
42 ./autogen.sh --prefix=/opt/ecomorph
44 make DESTDIR=$pkgdir install || return 1
46 mkdir -p "$pkgdir"/usr/bin
47 ln -s /opt/ecomorph/bin/ecomorph "$pkgdir"/usr/bin/ecomorph
49 install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING