1 # Maintainer: Valère Monseur <valere dot monseur at ymail dot com>
6 pkgdesc="X Compositor (a fork of xcompmgr-dana)"
8 url="https://github.com/chjj/compton"
10 depends=('libxcomposite' 'libxdamage' 'libxrender')
13 _gitroot="git://github.com/chjj/compton.git"
18 msg "Connecting to GIT server...."
20 if [ -d $_gitname ] ; then
21 cd $_gitname && git pull origin
22 msg "The local files are updated."
24 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf "$srcdir/$_gitname-build"
31 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
40 # can't install using make so let's do it manually
41 install -D -m755 "$_gitname" "$pkgdir/usr/bin/$_gitname"
42 install -D -m644 "$_gitname.1" "$pkgdir/usr/share/man/man1/$_gitname.1"
43 install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$_gitname/LICENSE"