summaryrefslogtreecommitdiff
path: root/repo/pm-utils/pm-utils.xibuild
blob: c1d094a9e53653577dfb64f18970bdb21d0b1734 (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="musl procps-ng"

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 
}