Date: Wednesday, September 15, 2010 @ 14:52:38 Author: ronald Revision: 90759
upgpkg: glpk 4.44-1 bump to latest version Modified: glpk/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-09-15 18:42:40 UTC (rev 90758) +++ PKGBUILD 2010-09-15 18:52:38 UTC (rev 90759) @@ -3,8 +3,8 @@ # Additional contributors Senjin, Xavier, dundee pkgname=glpk -pkgver=4.43 -pkgrel=3 +pkgver=4.44 +pkgrel=1 pkgdesc="GNU Linear Programming Kit : solve LP, MIP and other problems." arch=('i686' 'x86_64') url="http://www.gnu.org/software/glpk/glpk.html" @@ -12,20 +12,21 @@ depends=('glibc') options=('!libtool') source=("http://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz") -md5sums=('b984e9e6451399c8dd46e18889c80148') +md5sums=('f2ac7013bc0420d730d052e7ba24bdb1') build() { cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr if [ "$CARCH" == "x86_64" ]; then - make CFLAGS="$CFLAGS -fPIC" || return 1 + make CFLAGS="$CFLAGS -fPIC" else - make || return 1 + make fi +} +package(){ + cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install } -