summaryrefslogtreecommitdiff
path: root/libs/mpdecimal/MAKEPKG
blob: 117d2d22957858e4b5e591a4e2d9ac030054f158 (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
#!/bin/mkpkg
# description: Library for arbitrary precision decimal arithmetic
# url: https://www.bytereef.org/mpdecimal/

name=mpdecimal
version=4.0.1
release=1
depends=()
source=(https://www.bytereef.org/software/$name/releases/$name-$version.tar.gz)

sha256sums=(
    "96d33abb4bb0070c7be0fed4246cd38416188325f820468214471938545b1ac8"
)

build() {
    cd $name-$version
    ./configure \
        --prefix=/usr \
        --disable-static
    make
    make DESTDIR=$PKG install

    rm -rf $PKG/usr/share/doc
}

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

# vim: filetype=sh