Date: Monday, May 16, 2022 @ 06:48:10 Author: arojas Revision: 1207508
archrelease: copy trunk to community-staging-x86_64 Added: libmatio/repos/community-staging-x86_64/ libmatio/repos/community-staging-x86_64/PKGBUILD (from rev 1207507, libmatio/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: libmatio/repos/community-staging-x86_64/PKGBUILD (from rev 1207507, libmatio/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-05-16 06:48:10 UTC (rev 1207508) @@ -0,0 +1,32 @@ +# Maintaier: Antonio Rojas <aro...@archlinux.org> +# Contributor: Camille Monière <draslorus at draslorus dot fr> +# Contributor: Evgeniy Alekseev <arcanis at archlinux dot org> +# Contributor: Stefan Husmann <stefan-husmann at t-online dot de> +# Contributor: Alexander Rødseth <rodseth at gmail dot com> +# Contributor: William Rea <sillywilly at gmail dot com> + +pkgname=libmatio +pkgver=1.5.23 +pkgrel=2 +pkgdesc='C library with a fortran 90/95 module interface for reading/writing MATLAB MAT-files' +arch=(x86_64) +license=('custom:BSD') +url='https://sourceforge.net/projects/matio' +depends=(hdf5) +source=(https://github.com/tbeu/matio/releases/download/v$pkgver/matio-$pkgver.tar.gz) +sha256sums=('9f91eae661df46ea53c311a1b2dcff72051095b023c612d7cbfc09406c9f4d6e') + +build() { + cd matio-$pkgver + ./configure \ + --prefix=/usr \ + --enable-shared \ + --with-hdf5 + make +} + +package() { + cd matio-$pkgver + make DESTDIR="$pkgdir" install + install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname +}