summaryrefslogblamecommitdiff
path: root/system/bc/APKBUILD
blob: de809481475e9228add4a7f6b8c90dbc95857ac6 (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.3.1
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="a704356dfba75d94a3db9ab30ccd4b5cea1ccd8866c20650026148f61e0d799760d04bb6fefec46b3ce93a4a575c81f0668064af498cf7b581edcb82d00eb22e  bc-2.3.1.tar.xz"