summaryrefslogtreecommitdiff
path: root/opt/mandoc/MAKEPKG
blob: 6095f82e6c12aa81ac97a26bbf65b6b1c0ac6d6c (plain)
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
27
28
29
30
31
32
33
34
35
#!/bin/mkpkg
# description: UNIX manpage compiler and viewer
# url: https://mandoc.bsd.lv/

name=mandoc
version=1.14.6
release=1
depends=(zlib)
source=(https://mandoc.bsd.lv/snapshots/mandoc-$version.tar.gz)
sha256sums=(
    "8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c"
)

build() {
    cd $name-$version
    
    cat > configure.local << EOF
PREFIX=/usr
MANDIR=/usr/share/man
SBINDIR=/usr/bin
UTF8_LOCALE=en_US.UTF-8
CFLAGS="$CFLAGS"
EOF
    
    ./configure
    make
    make DESTDIR=$PKG install
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh