summaryrefslogblamecommitdiff
path: root/user/libtommath/APKBUILD
blob: 826ecf1317382a6ffccb6c4b698097105ac9aae9 (plain) (tree)
1
2
3
4

                                                  
            










                                                                                                       


                                           


                                                           

                                                                     
                                                                                                                                                               
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libtommath
pkgver=1.1.0
pkgrel=0
pkgdesc="Theoretic multiple-precision integer library"
url="https://www.libtom.net/LibTomMath/"
arch="all"
license="Unlicense"
depends=""
makedepends=""
subpackages="$pkgname-dev"
source="https://github.com/libtom/libtommath/releases/download/v${pkgver/_/-}/ltm-${pkgver/_/-}.tar.xz"
builddir="$srcdir/$pkgname-${pkgver/_/-}"

build() {
	make PREFIX=/usr -f makefile.shared
}

check() {
	make PREFIX=/usr -f makefile.shared test_standalone
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" -f makefile.shared install
}

sha512sums="6d1b8b09d5b975a2b84ef6ab9cb1cc63db2f0503a906e499cb9d7eaba3f487be6e7f69bf692b188f888418c61ea563aa7e2411638d8979eac426b3d603ad1b91  ltm-1.1.0.tar.xz"