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


Commits:
6b1a9bca by Antonio Rojas at 2024-04-29T23:27:31+02:00
upgpkg: 1.5.27-2: hdf5 1.14.4 rebuild

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,14 +1,15 @@
 pkgbase = libmatio
        pkgdesc = C library with a fortran 90/95 module interface for 
reading/writing MATLAB MAT-files
        pkgver = 1.5.27
-       pkgrel = 1
+       pkgrel = 2
        url = https://sourceforge.net/projects/matio
        arch = x86_64
        license = BSD-2-Clause
+       makedepends = git
        depends = glibc
        depends = hdf5
        depends = zlib
-       source = 
https://github.com/tbeu/matio/releases/download/v1.5.27/matio-1.5.27.tar.gz
-       sha256sums = 
0a6aa00b18c4512b63a8d27906b079c8c6ed41d4b2844f7a4ae598e18d22d3b3
+       source = git+https://github.com/tbeu/matio#tag=v1.5.27
+       sha256sums = 
86adb65dc3f40040a5a72eda4c2dc5243c8a0e1fa76ab2a709e0ec0cc6f26678
 
 pkgname = libmatio


=====================================
PKGBUILD
=====================================
@@ -7,7 +7,7 @@
 
 pkgname=libmatio
 pkgver=1.5.27
-pkgrel=1
+pkgrel=2
 pkgdesc='C library with a fortran 90/95 module interface for reading/writing 
MATLAB MAT-files'
 arch=(x86_64)
 license=(BSD-2-Clause)
@@ -15,11 +15,17 @@ url='https://sourceforge.net/projects/matio'
 depends=(glibc
          hdf5
          zlib)
-source=(https://github.com/tbeu/matio/releases/download/v$pkgver/matio-$pkgver.tar.gz)
-sha256sums=('0a6aa00b18c4512b63a8d27906b079c8c6ed41d4b2844f7a4ae598e18d22d3b3')
+makedepends=(git)
+source=(git+https://github.com/tbeu/matio#tag=v$pkgver)
+sha256sums=('86adb65dc3f40040a5a72eda4c2dc5243c8a0e1fa76ab2a709e0ec0cc6f26678')
+
+prepare() {
+  cd matio
+  ./autogen.sh
+}
 
 build() {
-  cd matio-$pkgver
+  cd matio
   ./configure \
     --prefix=/usr \
     --enable-shared \
@@ -28,7 +34,7 @@ build() {
 }
 
 package() {
-  cd matio-$pkgver
+  cd matio
   make DESTDIR="$pkgdir" install
   install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libmatio/-/commit/6b1a9bca43c012f39a2cb1abdb976886941de875

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libmatio/-/commit/6b1a9bca43c012f39a2cb1abdb976886941de875
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to