# Contributor: A. Wilcox # Maintainer: A. Wilcox 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"