summaryrefslogtreecommitdiff
path: root/repo/util/pm-utils.xibuild
blob: a1347ebe87f1c5ffe7a4b0fb8b4456fe91d8908b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

MAKEDEPS=(xmlto docbook-xml docbook-xsl)
DEPS=(glibc bash procps)

PKG_VER=1.4.1
SOURCE=https://pm-utils.freedesktop.org/releases/pm-utils-$PKG_VER.tar.gz
DESC="Utilities to manage suspend and hiberante powermanagement"

build () {
    ./configure --prefix=/usr     \
            --sysconfdir=/etc \
            --docdir=/usr/share/doc/pm-utils-$PKG_VER &&
    make

}

package () {
    make DESTDIR=$PKG_DEST install 
}