summaryrefslogtreecommitdiff
path: root/help2man/build.sh
blob: adb5e55861ca0746fbfde85761ba0661a53cafd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
name=help2man
version=1.47.12
revision=0
sources=(
    "https://ftp.gnu.org/gnu/${name}/${name}-${version}.tar.xz"
)
build_depends=(
    "perl"
    "xz"
)
depends=()

function prepare() {
    tar xf ${name}-${version}.tar.xz
    cd ${name}-${version}
}

function build() {
    ./configure --prefix="${_prefix}"
    make -j${_maxjobs}
}

function package() {
    make install DESTDIR="${_pkgdir}"
}