[arch-commits] Commit in glpk/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Dec 16 17:27:21 UTC 2020


    Date: Wednesday, December 16, 2020 @ 17:27:21
  Author: arojas
Revision: 404399

archrelease: copy trunk to testing-x86_64

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

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: glpk/repos/testing-x86_64/PKGBUILD (from rev 404398, glpk/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-12-16 17:27:21 UTC (rev 404399)
@@ -0,0 +1,30 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: bzklrm <bzklrm at gmail.com>
+# Additional contributors Senjin, Xavier, dundee
+
+pkgname=glpk
+pkgver=5.0
+pkgrel=1
+pkgdesc="GNU Linear Programming Kit : solve LP, MIP and other problems."
+arch=('x86_64')
+url="https://www.gnu.org/software/glpk/glpk.html"
+license=('GPL')
+depends=('gmp')
+source=(https://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha1sums=('3a85b1e4c806b91deebfcf9a845b9308cd785d64'
+          'SKIP')
+validpgpkeys=('A2B56CCB42220C06481335BAD17BF2305981E818') # Andrew Makhorin
+
+build() {
+  cd ${pkgname}-${pkgver}
+
+  ./configure --prefix=/usr --with-gmp
+  make
+}
+
+package(){
+  cd ${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