summaryrefslogblamecommitdiff
path: root/system/bc/APKBUILD
blob: c83a11fa7d4b76652ce2bb57363091752463f6fd (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=5.2.5
pkgrel=0
pkgdesc="An arbitrary precision numeric processing language (calculator)"
url="https://git.yzena.com/gavin/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="4236b50b5a2e97b65e22da621602af05e3f5ecbdc772d879083b60042ffc583b07958ab66304716236966620210d4524fd5f82d2145fb5606a9a0992b91fd1cd  bc-5.2.5.tar.xz"