1 # Maintainer: Sara <sara at archlinux dot us>
6 pkgdesc="A timer that will wake your system from suspend to RAM"
8 url="https://github.com/fogobogo/wakeup"
10 depends=('linux-api-headers' 'pm-utils')
15 _gitroot=git://github.com/fogobogo/wakeup.git
20 msg "Connecting to GIT server...."
22 if [[ -d ${_gitname} ]]; then
25 msg "The local files are updated."
27 git clone "${_gitroot}"
30 msg "Checkout done or server timeout"
31 rm -rf "${srcdir}/${_gitname}-build"
32 git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
33 cd "${srcdir}/${_gitname}-build"
35 msg "Starting make..."
37 make PREFIX=/usr DESTDIR="${pkgdir}" install || return 1
40 # vim:set ts=2 sw=2 et: