1 # Contributor: Sapphira Armageddos <shadowkyogre@aim.com>
5 pkgdesc="Locks all X sessions upon suspend or hibernate with xscreensaver or a custom command."
7 url="https://github.com/ShadowKyogre/Locky"
9 depends=('xorg-xdpyinfo' 'pm-utils')
13 _giturl=git://github.com/ShadowKyogre/Locky.git
16 # trick re-determining the build revision and, or entertain the hidden
17 # makepkg option --forcever, huh
18 if [ -z "${FORCE_VER}" ]; then
19 msg "Determining latest build revision..."
20 FORCE_VER=$(date +%Y%m%d)
27 if [ -d $_gitname ];then
28 cd $_gitname && git pull origin
30 git clone $_giturl $_gitname
35 cd ${srcdir}/$_gitname
37 install -Dm755 67locky ${pkgdir}/etc/pm/sleep.d/67locky
38 install -Dm644 lockyrc ${pkgdir}/etc/lockyrc
42 # vim:set ts=2 sw=2 et: