1 # Contributor: Borislav Gerassimov (slimmer) <borislavba (at) gmail.com>
2 # Previous contributors: Jozef K. (jofko) <joffko@gmail.com>
7 pkgdesc="Lightweight pure QT4 window manager"
8 url="http://www.antico.netsons.org/"
11 makedepends=('git' 'make')
12 install=$pkgname.install
14 _gitroot=git://github.com/antico/antico.git
16 _builddir=$srcdir/$_gitname-build
20 msg "Connecting to github.com GIT server...."
21 if [ -d $srcdir/$_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
29 git clone $_gitname $_gitname-build
32 qmake VERBOSE=1 || return 1
35 install -d $pkgdir/usr/share/antico/theme/default
36 install -m755 $_builddir/antico $pkgdir/usr/share/antico/antico
37 install -m644 $_builddir/theme/default/* $pkgdir/usr/share/antico/theme/default/
38 install -m644 $_builddir/COPYING $pkgdir/usr/share/antico/COPYING
39 install -m644 $_builddir/README $pkgdir/usr/share/antico/README
40 install -m644 $_builddir/CHANGELOG $pkgdir/usr/share/antico/CHANGELOG
43 install -d $pkgdir/usr/share/xsessions
44 install -m644 $_builddir/antico-gdm.desktop $pkgdir/usr/share/xsessions/
45 install -d $pkgdir/usr/share/apps/kdm/sessions
46 install -m644 $_builddir/antico-kdm.desktop $pkgdir/usr/share/apps/kdm/sessions/
48 # For .desktop compatibility
49 install -d $pkgdir/usr/bin
50 ln -s /usr/share/antico/antico $pkgdir/usr/bin/antico