summaryrefslogblamecommitdiff
path: root/system/bc/APKBUILD
blob: 07dcd49dbbbb6de136b8278f637caf9c362e548b (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=3.0.3
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"

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

check() {
	make test
}

package() {
	make install
}

sha512sums="0b27aeb8c892b878a7bfd6105744704c09349048981f1636c8a94ba159f4ffd4406bea7cf5995541c94eb4d3644902f8bfb7578b928744096fea81eb1a6121e5  bc-3.0.3.tar.xz"