1 # Maintainer: Martti Kühne <mysatyre at gmail dot com>
6 pkgdesc="Utilities and scripts for suspend and hibernate power management"
8 url="http://pm-utils.freedesktop.org"
10 depends=('bash' 'procps' 'vbetool' 'pm-quirks')
11 makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
14 provides=(pm-utils=1.4.1)
16 md5sums=('9839687c8787d99fd4ff36aa3238c27b')
18 _gitroot=git://anongit.freedesktop.org/git/pm-utils
23 msg "Connecting to GIT server..."
24 if [ -d $srcdir/$_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 # Copy Latest files to Build Directory
34 cp -rf $srcdir/$_gitname $srcdir/$_gitname-build
35 cd $srcdir/$_gitname-build
38 ./autogen.sh --prefix=/usr \
42 make DESTDIR="${pkgdir}" install
44 # install additional hooks
45 install -m755 "${srcdir}/11netcfg" "${pkgdir}/usr/lib/pm-utils/sleep.d/"