Date: Tuesday, April 23, 2013 @ 03:03:28 Author: eric Revision: 88814
upgpkg: libmatio 1.5.1-1 Upstream update, Add check function Modified: libmatio/trunk/PKGBUILD ----------+ PKGBUILD | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-04-22 22:03:58 UTC (rev 88813) +++ PKGBUILD 2013-04-23 01:03:28 UTC (rev 88814) @@ -4,25 +4,30 @@ # Contributor: William Rea <[email protected]> pkgname=libmatio -pkgver=1.5.0 -pkgrel=2 +pkgver=1.5.1 +pkgrel=1 pkgdesc='C library with a fortran 90/95 module interface for reading/writing MATLAB MAT-files' arch=('x86_64' 'i686') license=('LGPL') url='http://sourceforge.net/projects/matio' depends=('zlib') options=('!libtool' '!emptydirs') -source=("http://downloads.sourceforge.net/matio/matio-$pkgver.tar.gz") -sha256sums=('550dfa642c4ca7ad5ce5a0249264436ced14c72c116aee9fd14e99c7bd8cc72e') +source=("http://downloads.sourceforge.net/matio/matio-$pkgver.tar.bz2") +sha1sums=('12b8ed59688b2f41903ddc3e7975f21f10fe42bb') build() { - cd "$srcdir/matio-$pkgver" + cd matio-$pkgver ./configure --prefix=/usr --enable-shared make } + +check() { + cd matio-$pkgver + make check +} package() { - cd "$srcdir/matio-$pkgver" + cd matio-$pkgver make DESTDIR="$pkgdir" install }
