summaryrefslogtreecommitdiff
path: root/devel/bison/MAKEPKG
blob: 1d8813ac8a831dd853f55309f41b434a62b53c5c (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
#!/bin/mkpkg
# description: The GNU Project parser generator
# url: https://www.gnu.org/software/bison/

name=bison
version=3.8.2
release=1
source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)

sha256sums=(
    "9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2"
)

build() {
    cd $name-$version
    
    ./configure \
        --prefix=/usr \
        --disable-nls
    
    make
    make DESTDIR=$PKG install
    
    rm -rf $PKG/usr/share/doc
    rm -rf $PKG/usr/share/info
    rm -f $PKG/usr/share/bison/README.md
}

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

# vim: filetype=sh