1 # Maintainer: Nano77 <nanoarch77@gmail.com>
2 # Last update: 09/01/2012
8 pkgdesc="A GUI to setting GDM3"
12 url="http://github.com/Nano77/gdm3setup"
13 depends=('gdm>=3' 'gnome-shell')
17 _gitroot="git://github.com/Nano77/gdm3setup.git"
23 msg "Connecting to GIT server..."
24 if [[ -d ${_gitname} ]]; then
25 (cd ${_gitname} && git pull origin)
27 git clone ${_gitroot} ${_gitname}
29 msg "GIT checkout done or server timeout"
36 install --mode=755 -D ${srcdir}/gdm3setup/gdm3setup.py ${pkgdir}/usr/bin/gdm3setup.py
37 install --mode=755 -D ${srcdir}/gdm3setup/gdm3setup-daemon.py ${pkgdir}/usr/bin/gdm3setup-daemon.py
38 install --mode=755 -D ${srcdir}/gdm3setup/start-gdm3setup-daemon ${pkgdir}/usr/bin/start-gdm3setup-daemon
39 install --mode=755 -D ${srcdir}/gdm3setup/gdmlogin.py ${pkgdir}/usr/bin/gdmlogin.py
40 install --mode=755 -D ${srcdir}/gdm3setup/get_gdm.sh ${pkgdir}/usr/bin/get_gdm.sh
41 install --mode=755 -D ${srcdir}/gdm3setup/set_gdm.sh ${pkgdir}/usr/bin/set_gdm.sh
42 install -D ${srcdir}/gdm3setup/gdm3setup.desktop ${pkgdir}/usr/share/applications/gdm3setup.desktop
43 install -D ${srcdir}/gdm3setup/apps.nano77.gdm3setup.service ${pkgdir}/usr/share/dbus-1/system-services/apps.nano77.gdm3setup.service
44 install -D ${srcdir}/gdm3setup/apps.nano77.gdm3setup.service ${pkgdir}/usr/share/dbus-1/services/apps.nano77.gdm3setup.service
45 install -D ${srcdir}/gdm3setup/apps.nano77.gdm3setup.conf ${pkgdir}/etc/dbus-1/system.d/apps.nano77.gdm3setup.conf
46 install -D ${srcdir}/gdm3setup/apps.nano77.gdm3setup.policy ${pkgdir}/usr/share/polkit-1/actions/apps.nano77.gdm3setup.policy
47 cp -r ${srcdir}/gdm3setup/locale/ ${pkgdir}/usr/share/locale/