Date: Tuesday, May 19, 2020 @ 08:50:16
Author: felixonmars
Revision: 386489
archrelease: copy trunk to staging-x86_64
Added:
libtommath/repos/staging-x86_64/
libtommath/repos/staging-x86_64/PKGBUILD
(from rev 386488, libtommath/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: libtommath/repos/staging-x86_64/PKGBUILD (from rev 386488,
libtommath/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-19 08:50:16 UTC (rev 386489)
@@ -0,0 +1,28 @@
+# Maintainer: Giovanni Scafora <[email protected]>
+# Contributor: suasageandeggs <[email protected]>
+# Contributor: Michael Fellinger <[email protected]>
+
+pkgname=libtommath
+pkgver=1.2.0
+pkgrel=2
+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"
+}