1 # Contributor: nesl247 <nesl247@gmail.com>
6 pkgdesc="Emerald window decorator"
8 url="http://opencompositing.org"
10 depends=('compiz-git' 'libwnck' 'gtk2')
11 makedepends=('git' 'intltool' 'pkgconfig' 'gettext')
12 groups=('compiz-fusion-git')
17 _gitroot="git://anongit.opencompositing.org/fusion/decorators/emerald"
21 msg "Connecting to opencompositing.org GIT server...."
23 if [[ -d $startdir/src/$_gitname ]] ; then
25 git-pull origin || return 1
26 msg "The local files are updated."
28 git clone $_gitroot || return 1
31 msg "GIT checkout done"
32 msg "Starting make..."
35 rm -rf $startdir/src/$_gitname-build
37 cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
38 cd $startdir/src/$_gitname-build
40 ACLOCAL="aclocal -I /usr/share/aclocal" ./autogen.sh --host=${CHOST} \
42 --infodir=/usr/share/info \
44 --sysconfdir=/etc || return 1
47 make DESTDIR=$startdir/pkg install || return 1
50 rm -rf $_gitname-build