[arch-commits] Commit in glpk/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Mon Apr 4 16:55:05 UTC 2016
Date: Monday, April 4, 2016 @ 18:55:05
Author: arojas
Revision: 263864
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
glpk/repos/staging-i686/
glpk/repos/staging-i686/PKGBUILD
(from rev 263863, glpk/trunk/PKGBUILD)
glpk/repos/staging-x86_64/
glpk/repos/staging-x86_64/PKGBUILD
(from rev 263863, glpk/trunk/PKGBUILD)
-------------------------+
staging-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
staging-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
Copied: glpk/repos/staging-i686/PKGBUILD (from rev 263863, glpk/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2016-04-04 16:55:05 UTC (rev 263864)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: bzklrm <bzklrm at gmail.com>
+# Additional contributors Senjin, Xavier, dundee
+
+pkgname=glpk
+pkgver=4.60
+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"
+license=('GPL')
+depends=('gmp')
+source=(http://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha1sums=('4e55a3d2aa38b19c5bdd8a195738dbaf44e91e90'
+ 'SKIP')
+validpgpkeys=('A2B56CCB42220C06481335BAD17BF2305981E818') # Andrew Makhorin
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --with-gmp
+
+ if [ "$CARCH" == "x86_64" ]; then
+ make CFLAGS="$CFLAGS -fPIC"
+ else
+ make
+ fi
+}
+
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 doc/glpk.pdf "${pkgdir}/usr/share/doc/glpk/glpk.pdf"
+ install -Dm644 doc/gmpl.pdf "${pkgdir}/usr/share/doc/glpk/gmpl.pdf"
+}
Copied: glpk/repos/staging-x86_64/PKGBUILD (from rev 263863, glpk/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-04-04 16:55:05 UTC (rev 263864)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: bzklrm <bzklrm at gmail.com>
+# Additional contributors Senjin, Xavier, dundee
+
+pkgname=glpk
+pkgver=4.60
+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"
+license=('GPL')
+depends=('gmp')
+source=(http://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha1sums=('4e55a3d2aa38b19c5bdd8a195738dbaf44e91e90'
+ 'SKIP')
+validpgpkeys=('A2B56CCB42220C06481335BAD17BF2305981E818') # Andrew Makhorin
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr --with-gmp
+
+ if [ "$CARCH" == "x86_64" ]; then
+ make CFLAGS="$CFLAGS -fPIC"
+ else
+ make
+ fi
+}
+
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 doc/glpk.pdf "${pkgdir}/usr/share/doc/glpk/glpk.pdf"
+ install -Dm644 doc/gmpl.pdf "${pkgdir}/usr/share/doc/glpk/gmpl.pdf"
+}
More information about the arch-commits
mailing list