summaryrefslogtreecommitdiff
path: root/repo/xz/xz.xibuild
blob: bcd5931bb18b5b616fa6ebe5c2e3d7bc6cd71827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

MAKEDEPS="make "
DEPS="sh"

PKG_VER=5.2.2
SOURCE=https://github.com/xz-mirror/xz/releases/download/v$PKG_VER/xz-$PKG_VER.tar.bz2
DESC="Tools for the lzma and xz compression formats"


build () {
    autoreconf -fi
    ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/xz-$PKG_VER
    make
}

check () {
    make check
}

package () {
    make DESTDIR=$PKG_DEST install
}