community/fpc to 3.0.0-1.1

This commit is contained in:
Kevin Mihelich 2016-02-26 06:37:58 +00:00
parent 02215d9680
commit dd9d1786db

View file

@ -9,11 +9,12 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - link ppcarm to /usr/bin
# - build for armhf on v6/v7
pkgname=fpc
pkgver=3.0.0
_gdbver=7.10
pkgrel=1
pkgrel=1.1
pkgdesc="The Free Pascal Compiler is a Turbo Pascal 7.0 and Delphi compatible 32bit Pascal Compiler. It comes with fully TP 7.0 compatible run-time library."
arch=('i686' 'x86_64')
url="http://www.freepascal.org/"
@ -40,10 +41,11 @@ build() {
# patch -p1 <$srcdir/fpc-gdb.patch
export GDBLIBDIR=${srcdir}/gdb-${_gdbver}/gdb
export LIBGDBFILE=$GDBLIBDIR/libgdb.a
[[ $CARCH == "armv7h" || $CARCH == "armv6h" ]] && EXTRA="OPT=-dFPC_ARMHF"
pushd fpcsrc/compiler
fpcmake -Tall
popd
make build NOGDB=1
make build NOGDB=1 ${EXTRA}
}
package() {