summaryrefslogtreecommitdiff
path: root/community/gprolog
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-02 11:30:49 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-02 11:30:49 -0300
commitd734cc3a77cdc6960cbd72f3f8c680612342f24d (patch)
tree4fefd06bad669711c7564983f85d84d418141b05 /community/gprolog
parent3dc4525661db2630038e019a2a31b71fdcbfb74a (diff)
parenta81bc5be2e3672119ca0313a1fde10397a31211e (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/mingw32-gcc/PKGBUILD extra/transmission/PKGBUILD
Diffstat (limited to 'community/gprolog')
-rw-r--r--community/gprolog/PKGBUILD30
1 files changed, 17 insertions, 13 deletions
diff --git a/community/gprolog/PKGBUILD b/community/gprolog/PKGBUILD
index d9675feec..e65fcb8c7 100644
--- a/community/gprolog/PKGBUILD
+++ b/community/gprolog/PKGBUILD
@@ -1,23 +1,27 @@
-# $Id: PKGBUILD 18237 2010-06-01 19:57:36Z spupykin $
+# $Id: PKGBUILD 50772 2011-06-30 21:54:27Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributer: Jason Chu <jchu@xentac.net>
pkgname=gprolog
-pkgver=1.3.1
-pkgrel=2
+pkgver=1.4.0
+pkgrel=1
pkgdesc="GNU Prolog"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gprolog.org/"
-depends=(glibc)
+depends=('glibc')
license=('GPL')
source=(ftp://ftp.gnu.org/gnu/gprolog/gprolog-$pkgver.tar.gz)
-md5sums=('cbae19c31e17bcfca4b57fe35ec4aba2')
+md5sums=('9d4fc311b7f6e37e524a5e7ccd0b6c28')
build() {
cd "$srcdir/gprolog-$pkgver/src"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
- make || return 1
+ make
+}
+
+package() {
+ cd "$srcdir/gprolog-$pkgver/src"
make install \
INSTALL_DIR="$pkgdir"/usr/share/gprolog \
LINKS_DIR="$pkgdir"/usr/bin \
@@ -25,14 +29,14 @@ build() {
HTML_DIR="$pkgdir"/usr/share/gprolog/doc/Html \
EXAMPLES_DIR="$pkgdir"/usr/share/gprolog \
sysconfdir="$pkgdir"/etc \
- localstatedir="$pkgdir"/var || return 1
+ localstatedir="$pkgdir"/var
cd "$pkgdir"/usr/bin
rm *
- ln -s /usr/share/gprolog/bin/fd2c && \
- ln -s /usr/share/gprolog/bin/gplc && \
- ln -s /usr/share/gprolog/bin/gprolog && \
- ln -s /usr/share/gprolog/bin/hexgplc && \
- ln -s /usr/share/gprolog/bin/ma2asm && \
- ln -s /usr/share/gprolog/bin/pl2wam && \
+ ln -s /usr/share/gprolog/bin/fd2c
+ ln -s /usr/share/gprolog/bin/gplc
+ ln -s /usr/share/gprolog/bin/gprolog
+ ln -s /usr/share/gprolog/bin/hexgplc
+ ln -s /usr/share/gprolog/bin/ma2asm
+ ln -s /usr/share/gprolog/bin/pl2wam
ln -s /usr/share/gprolog/bin/wam2ma
}