Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
libcerf


Commits:
ab4e5cfd by Antonio Rojas at 2024-07-04T00:00:57+02:00
upgpkg: 1:2.4-2: Rebuild for missing .SRCINFO

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,15 @@
+pkgbase = libcerf
+       pkgdesc = Self-contained numeric library that provides an efficient and 
accurate implementation of complex error functions
+       pkgver = 2.4
+       pkgrel = 2
+       epoch = 1
+       url = https://jugit.fz-juelich.de/mlz/libcerf/
+       arch = x86_64
+       license = MIT
+       makedepends = cmake
+       makedepends = git
+       depends = glibc
+       source = git+https://jugit.fz-juelich.de/mlz/libcerf#tag=v2.4
+       sha256sums = 
6970f3c2a99f6ed4f5de6e91e2bfeea338b6d5e424a4d26a05e7978825a41273
+
+pkgname = libcerf


=====================================
PKGBUILD
=====================================
@@ -3,18 +3,19 @@
 pkgname=libcerf
 epoch=1
 pkgver=2.4
-pkgrel=1
+pkgrel=2
 pkgdesc='Self-contained numeric library that provides an efficient and 
accurate implementation of complex error functions'
 arch=(x86_64)
 url='https://jugit.fz-juelich.de/mlz/libcerf/'
-license=(custom)
+license=(MIT)
 depends=(glibc)
-makedepends=(cmake)
-source=(https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v$pkgver/libcerf-v$pkgver.tar.gz)
-sha256sums=('080b30ae564c3dabe3b89264522adaf5647ec754021572bee54929697b276cdc')
+makedepends=(cmake
+             git)
+source=(git+https://jugit.fz-juelich.de/mlz/libcerf#tag=v$pkgver)
+sha256sums=('6970f3c2a99f6ed4f5de6e91e2bfeea338b6d5e424a4d26a05e7978825a41273')
 
 build() {
-  cmake -B build -S $pkgname-v$pkgver \
+  cmake -B build -S $pkgname \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DPORTABLE=ON
   cmake --build build
@@ -23,5 +24,5 @@ build() {
 package() {
   DESTDIR="$pkgdir" cmake --install build
 
-  install -Dm644 $pkgname-v$pkgver/LICENSE -t 
"$pkgdir"/usr/share/licenses/$pkgname
+  install -Dm644 $pkgname/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libcerf/-/commit/ab4e5cfdfbb4a1010c37235621a414e286637406

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


Reply via email to