[arch-commits] Commit in libtommath/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Oct 22 10:36:17 UTC 2019
Date: Tuesday, October 22, 2019 @ 10:36:16
Author: arojas
Revision: 365311
archrelease: copy trunk to testing-x86_64
Added:
libtommath/repos/testing-x86_64/
libtommath/repos/testing-x86_64/PKGBUILD
(from rev 365310, libtommath/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: libtommath/repos/testing-x86_64/PKGBUILD (from rev 365310, libtommath/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-10-22 10:36:16 UTC (rev 365311)
@@ -0,0 +1,28 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: suasageandeggs <s_stoakley at hotmail.co.uk>
+# Contributor: Michael Fellinger <manveru at www.weez-int.com>
+
+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"
+}
More information about the arch-commits
mailing list