[arch-commits] Commit in glpk/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Sat Nov 17 07:45:55 UTC 2012
Date: Saturday, November 17, 2012 @ 02:45:55
Author: eric
Revision: 171319
upgpkg: glpk 4.47-2
Add docs (close FS#20515)
Modified:
glpk/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-11-17 06:46:09 UTC (rev 171318)
+++ PKGBUILD 2012-11-17 07:45:55 UTC (rev 171319)
@@ -1,3 +1,4 @@
+# $Id$
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: bzklrm <bzklrm at gmail.com>
# Additional contributors Senjin, Xavier, dundee
@@ -4,18 +5,19 @@
pkgname=glpk
pkgver=4.47
-pkgrel=1
+pkgrel=2
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')
options=('!libtool')
-source=("http://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz")
-sha1sums=('35e16d3167389b6bc75eb51b4b48590db59f789c')
+source=(http://ftp.gnu.org/gnu/glpk/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha1sums=('35e16d3167389b6bc75eb51b4b48590db59f789c'
+ 'e29069fb4e8e34929a980a8659b3dd7ccd92a676')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
@@ -27,6 +29,8 @@
}
package(){
- cd ${srcdir}/${pkgname}-${pkgver}
+ 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