summaryrefslogtreecommitdiff
path: root/extra/glpk/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-11-18 17:12:10 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-11-18 17:12:10 +0100
commitfb5b6b28f363547abcbfa026fcae050236861425 (patch)
tree850e29f1f9f42ada20e1c6818316988505970dae /extra/glpk/PKGBUILD
parent67eabbfbd9364ee57f122c9ec9a03dd61bba850b (diff)
parentab63d8d49f68847a68c2ba0014bf0d3338cb3df6 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/ettercap/PKGBUILD community/mplayer2/PKGBUILD community/nginx/PKGBUILD community/pidgin-libnotify/PKGBUILD core/util-linux/PKGBUILD extra/aspell-pt/PKGBUILD extra/glpk/PKGBUILD extra/libgdiplus/PKGBUILD extra/llvm/PKGBUILD extra/mesa/PKGBUILD extra/rhythmbox/PKGBUILD extra/texmacs/PKGBUILD
Diffstat (limited to 'extra/glpk/PKGBUILD')
-rw-r--r--extra/glpk/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/glpk/PKGBUILD b/extra/glpk/PKGBUILD
index 072b481e6..f4a7dde1a 100644
--- a/extra/glpk/PKGBUILD
+++ b/extra/glpk/PKGBUILD
@@ -1,25 +1,27 @@
+# $Id: PKGBUILD 171320 2012-11-17 07:46:20Z eric $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: bzklrm <bzklrm@gmail.com>
# Additional contributors Senjin, Xavier, dundee
pkgname=glpk
pkgver=4.47
-pkgrel=1.1
+pkgrel=2
pkgdesc="GNU Linear Programming Kit : solve LP, MIP and other problems."
arch=('i686' 'x86_64' 'mips64el')
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
- if [ "$CARCH" == "x86_64" ]; then
+ if [ "$CARCH" != "i686" ]; then
make CFLAGS="$CFLAGS -fPIC"
else
make
@@ -27,6 +29,8 @@ build() {
}
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"
}