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

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 
}