summaryrefslogtreecommitdiff
path: root/extra/lpsolve/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-26 22:29:52 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-26 22:29:52 -0300
commit258bafde6bf3c83e4108230457073e8136719a73 (patch)
treea6132a3a8316be50ff77e3cfcf5c41f94747bd2c /extra/lpsolve/PKGBUILD
parent9b703cb6980ff009ca181cecd900cb2e78f5d54e (diff)
parentf6a79a3f5989efc8db63af942851c56f0c462bb1 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/pigeonhole/PKGBUILD community/pv/PKGBUILD community/python-gnupginterface/PKGBUILD community/tdl/PKGBUILD extra/clisp/PKGBUILD extra/expect/PKGBUILD extra/gtkpod/PKGBUILD extra/hspell/PKGBUILD extra/id3lib/PKGBUILD extra/imake/PKGBUILD extra/libfontenc/PKGBUILD extra/libice/PKGBUILD extra/libsm/PKGBUILD extra/libspectre/PKGBUILD extra/libtasn1/PKGBUILD extra/libxau/PKGBUILD extra/libxaw/PKGBUILD extra/libxxf86dga/PKGBUILD extra/mp3splt/PKGBUILD extra/multitail/PKGBUILD extra/nss_ldap/PKGBUILD extra/pam_ldap/PKGBUILD extra/recode/PKGBUILD extra/ruby/PKGBUILD extra/squid/PKGBUILD extra/ssmtp/PKGBUILD extra/umfpack/PKGBUILD extra/xorg-xbacklight/PKGBUILD extra/xorg-xbiff/PKGBUILD extra/xorg-xcalc/PKGBUILD extra/xorg-xconsole/PKGBUILD extra/xorg-xedit/PKGBUILD extra/xorg-xeyes/PKGBUILD extra/xorg-xvinfo/PKGBUILD
Diffstat (limited to 'extra/lpsolve/PKGBUILD')
-rw-r--r--extra/lpsolve/PKGBUILD34
1 files changed, 18 insertions, 16 deletions
diff --git a/extra/lpsolve/PKGBUILD b/extra/lpsolve/PKGBUILD
index 3d70f3bf0..838cddee1 100644
--- a/extra/lpsolve/PKGBUILD
+++ b/extra/lpsolve/PKGBUILD
@@ -1,11 +1,11 @@
- # $Id: PKGBUILD 51162 2009-09-05 13:45:34Z andyrtr $
+# $Id: PKGBUILD 51162 2009-09-05 13:45:34Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
pkgname=lpsolve
_origname=lp_solve
pkgver=5.5.2.0
_mainver=5.5
-pkgrel=1
+pkgrel=2
pkgdesc="a Mixed Integer Linear Programming (MILP) solver"
arch=('i686' 'x86_64' 'mips64el')
url="http://lpsolve.sourceforge.net/"
@@ -18,19 +18,21 @@ md5sums=('167c0fb4ab178e0b7ab50bf0a635a836'
build() {
cd "${srcdir}/${_origname}_${_mainver}"
- patch -Np1 -i $srcdir/cflags.patch || return 1
+ patch -Np1 -i $srcdir/cflags.patch
- # taken from Fedora spec
- cd lpsolve55
- sh -x ccc
- rm bin/ux*/liblpsolve55.a
- cd ../lp_solve
- sh -x ccc
- cd ..
-
- # install
- install -d ${pkgdir}/usr/{bin,lib,include/lpsolve}
- install -m 755 lp_solve/bin/ux*/lp_solve ${pkgdir}/usr/bin/
- install -m 755 lpsolve55/bin/ux*/liblpsolve55.so ${pkgdir}/usr/lib/
- install -m 644 lp*.h ${pkgdir}/usr/include/lpsolve/
+ # taken from Fedora spec
+ cd lpsolve55
+ sh -x ccc
+ rm bin/ux*/liblpsolve55.a
+ cd ../lp_solve
+ sh -x ccc
+}
+
+package() {
+ cd "${srcdir}/${_origname}_${_mainver}"
+
+ install -dm755 ${pkgdir}/usr/{bin,lib,include/lpsolve}
+ install -m755 lp_solve/bin/ux*/lp_solve ${pkgdir}/usr/bin/
+ install -m755 lpsolve55/bin/ux*/liblpsolve55.so ${pkgdir}/usr/lib/
+ install -m644 lp*.h ${pkgdir}/usr/include/lpsolve/
}