From 3b3490769ee8f5f40bc4d3a79e89089b8fcdc420 Mon Sep 17 00:00:00 2001 From: arojas Date: Tue, 22 Oct 2019 10:36:16 +0000 Subject: [PATCH] archrelease: copy trunk to testing-x86_64 git-svn-id: file:///srv/repos/svn-packages/svn@365311 eb2447ed-0c53-47e4-bac8-5bc4a241df78 --- libtommath/repos/testing-x86_64/PKGBUILD | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 libtommath/repos/testing-x86_64/PKGBUILD diff --git a/libtommath/repos/testing-x86_64/PKGBUILD b/libtommath/repos/testing-x86_64/PKGBUILD new file mode 100644 index 000000000000..78f2ff5606e5 --- /dev/null +++ b/libtommath/repos/testing-x86_64/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Giovanni Scafora +# Contributor: suasageandeggs +# Contributor: Michael Fellinger + +pkgname=libtommath +pkgver=1.2.0 +pkgrel=1 +pkgdesc="Highly optimized and portable routines for integer based number theoretic applications" +url="http://www.libtom.org/" +license=('custom') +arch=('x86_64') +depends=('glibc') +options=(staticlibs) +source=("https://github.com/libtom/libtommath/releases/download/v$pkgver/ltm-$pkgver.tar.xz") +sha256sums=('b7c75eecf680219484055fcedd686064409254ae44bc31a96c5032843c0e18b1') + +build() { + cd $pkgname-$pkgver + + make -f makefile.shared IGNORE_SPEED=1 +} + +package() { + cd $pkgname-$pkgver + + make -f makefile.shared PREFIX=/usr DESTDIR="$pkgdir" INSTALL_GROUP=root install + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}