[arch-commits] Commit in libtommath/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 19 08:50:17 UTC 2020


    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 <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=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"
+}



More information about the arch-commits mailing list