[arch-commits] Commit in glpk/repos (4 files)

Antonio Rojas arojas at archlinux.org
Fri Nov 6 18:59:13 UTC 2015


    Date: Friday, November 6, 2015 @ 19:59:13
  Author: arojas
Revision: 250161

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  glpk/repos/testing-i686/
  glpk/repos/testing-i686/PKGBUILD
    (from rev 250160, glpk/trunk/PKGBUILD)
  glpk/repos/testing-x86_64/
  glpk/repos/testing-x86_64/PKGBUILD
    (from rev 250160, glpk/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: glpk/repos/testing-i686/PKGBUILD (from rev 250160, glpk/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-11-06 18:59:13 UTC (rev 250161)
@@ -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.56
+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=('glibc')
+source=(http://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha1sums=('b9b0c9cd6fca4345abe546bd8f05ddfecc12ef69'
+          'SKIP')
+validpgpkeys=('A2B56CCB42220C06481335BAD17BF2305981E818') # Andrew Makhorin
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr
+
+  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/testing-x86_64/PKGBUILD (from rev 250160, glpk/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-11-06 18:59:13 UTC (rev 250161)
@@ -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.56
+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=('glibc')
+source=(http://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha1sums=('b9b0c9cd6fca4345abe546bd8f05ddfecc12ef69'
+          'SKIP')
+validpgpkeys=('A2B56CCB42220C06481335BAD17BF2305981E818') # Andrew Makhorin
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr
+
+  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