Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
gmp-ecm


Commits:
bd5ea505 by Antonio Rojas at 2024-07-02T19:17:08+02:00
upgpkg: 7.0.5-2: Rebuild for missing .SRCINFO

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,16 @@
+pkgbase = gmp-ecm
+       pkgdesc = Elliptic Curve Method for Integer Factorization
+       pkgver = 7.0.5
+       pkgrel = 2
+       url = https://github.com/sethtroisi/gmp-ecm
+       arch = x86_64
+       license = GPL-3.0-or-later
+       license = LGPL-3.0-or-later
+       makedepends = git
+       depends = gcc-libs
+       depends = glibc
+       depends = gmp
+       source = git+https://gitlab.inria.fr/zimmerma/ecm#tag=git-7.0.5
+       sha256sums = 
dd38c6fe9af3239309daae3a8b6bddcf59d7e9256b0d7f9bd63d3f9c5a1ccd99
+
+pkgname = gmp-ecm


=====================================
PKGBUILD
=====================================
@@ -4,32 +4,39 @@
 
 pkgname=gmp-ecm
 pkgver=7.0.5
-pkgrel=1
+pkgrel=2
 pkgdesc='Elliptic Curve Method for Integer Factorization'
 url='https://github.com/sethtroisi/gmp-ecm'
-license=(GPL LGPL)
-depends=(gmp)
+license=(GPL-3.0-or-later
+         LGPL-3.0-or-later)
+depends=(gcc-libs
+         glibc
+         gmp)
+makedepends=(git)
 arch=(x86_64)
-source=(https://gitlab.inria.fr/zimmerma/ecm/-/archive/git-$pkgver/ecm-git-$pkgver.tar.gz)
-sha256sums=('778007e9ddd914487fa6a935ba06baabfe0b38078f04ed7e102e9b52e8fa0137')
+source=(git+https://gitlab.inria.fr/zimmerma/ecm#tag=git-$pkgver)
+sha256sums=('dd38c6fe9af3239309daae3a8b6bddcf59d7e9256b0d7f9bd63d3f9c5a1ccd99')
 
 prepare() {
-  cd ecm-git-$pkgver
+  cd ecm
   autoreconf -vi
 }
 
 build() {
-  cd ecm-git-$pkgver
-  ./configure --prefix=/usr --enable-shared --enable-openmp
+  cd ecm
+  ./configure \
+    --prefix=/usr \
+    --enable-shared \
+    --enable-openmp
   make
 }
 
 check() {
-  cd ecm-git-$pkgver
+  cd ecm
   make check
 }
 
 package() {
-  cd ecm-git-$pkgver
+  cd ecm
   make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gmp-ecm/-/commit/bd5ea5053060fd5454c9bdc92136c051ff983a93

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gmp-ecm/-/commit/bd5ea5053060fd5454c9bdc92136c051ff983a93
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to