summaryrefslogblamecommitdiff
path: root/system/bc/APKBUILD
blob: 621ec8bfca10ea061d84f7be7fe69464984ebd7f (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=7.0.0
pkgrel=0
pkgdesc="An arbitrary precision numeric processing language (calculator)"
url="https://git.gavinhoward.com/gavin/bc"
arch="all"
license="BSD-2-Clause"
depends=""
makedepends=""
subpackages="$pkgname-doc"
source="https://git.gavinhoward.com/gavin/bc/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"

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

check() {
	make -j1 test
}

package() {
	make install
}

sha512sums="ef89525eea8773dddb7efd3dd33f589de287ac807b772480e884bd666f29b2b0b362c999029cc6d82733f830195ca3f6fd867f15190fbcbf807ddbc4b24abb65  bc-7.0.0.tar.xz"