summaryrefslogblamecommitdiff
path: root/system/bc/APKBUILD
blob: 64117b1a955f408bd469e5ad9eb799312443ccd6 (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=6.5.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 test
}

package() {
	make install
}

sha512sums="1cb03038d828a0b10734c29931777add8b22f194c507b8ff538ec1aa52a2a97a4ac2733d72cdb0710fdc6937807074e929f7918c56aaf5be8fbe908ea7c5a401  bc-6.5.0.tar.xz"