mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-07 23:24:05 +00:00
27 lines
1 KiB
Bash
27 lines
1 KiB
Bash
|
# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr>
|
||
|
# Contributer: Jason Chu <jchu@xentac.net>
|
||
|
pkgname=gprolog
|
||
|
pkgver=1.3.1
|
||
|
pkgrel=1
|
||
|
pkgdesc="GNU Prolog"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.gprolog.org/"
|
||
|
license=('GPL')
|
||
|
source=(ftp://ftp.gnu.org/gnu/gprolog/gprolog-$pkgver.tar.gz)
|
||
|
build() {
|
||
|
cd "$srcdir/gprolog-$pkgver/src"
|
||
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
||
|
make || return 1
|
||
|
make INSTALL_DIR="$pkgdir"/usr/share/gprolog LINKS_DIR="$pkgdir"/usr/bin DOC_DIR="$pkgdir"/usr/share/gprolog/doc HTML_DIR="$pkgdir"/usr/share/gprolog/doc/Html EXAMPLES_DIR="$pkgdir"/usr/share/gprolog sysconfdir="$pkgdir"/etc localstatedir="$pkgdir"/var install
|
||
|
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/wam2ma
|
||
|
}
|
||
|
md5sums=('cbae19c31e17bcfca4b57fe35ec4aba2')
|