1 # Old Contributor: Michele Gastaldo <pikiweb@gmail.com>
2 # Contributor: twa022 <twa022 at gmail dot com>
7 pkgdesc="A compositing manager for E17"
9 url="http://code.google.com/p/itask-module/wiki/Stuff"
12 makedepends=('intltool' 'git' 'automake' 'pkgconfig')
13 conflicts=('ecomorph')
19 _gitroot="git://github.com/jeffdameth/ecomorph.git"
25 msg "Connecting to GIT server...."
27 if [ -d $_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf "$srcdir/$_gitname-build"
38 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
42 ./autogen.sh --prefix=/opt/ecomorph
43 LDFLAGS="-Wl,--hash-style=gnu,-L/opt/ecomorph/lib" \
44 CFLAGS="-I/opt/ecomorph/include $CFLAGS" \
45 CPPFLAGS="-I/opt/ecomorph/include $CFLAGS" \
46 PKG_CONFIG_PATH="/opt/ecomorph/lib/pkgconfig:$PKG_CONFIG_PATH" \
48 make DESTDIR=$pkgdir install || return 1
50 mkdir -p "$pkgdir"/usr/bin
51 ln -s /opt/ecomorph/bin/ecomp.sh "$pkgdir"/usr/bin/ecomp.sh
52 ln -s /opt/ecomorph/bin/ecomorph.sh "$pkgdir"/usr/bin/ecomorph.sh
54 install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
55 install -D -m644 COPYING-PLAIN $startdir/pkg/usr/share/licenses/$pkgname/COPYING-PLAIN