summaryrefslogblamecommitdiff
path: root/system/bc/APKBUILD
blob: 4dcc4b94badc494deab6132cfe75766bc71a28e1 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                  

                                                 
            
        
                                                                         
                                       
          
                      

              
                          

                                                                                                  

         
                                                                




                 


           
                    

 
                                                                                                                                                              
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=bc
pkgver=2.1.0
pkgrel=0
pkgdesc="An arbitrary precision numeric processing language (calculator)"
url="https://github.com/gavinhoward/bc"
arch="all"
license="BSD-2-Clause"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="https://github.com/gavinhoward/bc/releases/download/${pkgver/_/-}/bc-${pkgver/_/-}.tar.xz"
builddir="$srcdir"/$pkgname-${pkgver/_/-}

build() {
	PREFIX="/usr" DESTDIR="$pkgdir" ./configure.sh -g -G -O3
	make
}

check() {
	make test
}

package() {
	make install
}

sha512sums="d117c0433b08d7bf4986ff49a39b6cbd1048399e74a3781ba48b27008d18c1cedfaca79c1d0510919b194bc593699ba99a736c377815cb3659cec772b45b1cd1  bc-2.1.0.tar.xz"