From a306c2530354c1c02351c4cc02eefa53c8d23eac Mon Sep 17 00:00:00 2001 From: root Date: Tue, 9 Aug 2011 23:14:31 +0000 Subject: Tue Aug 9 23:14:31 UTC 2011 --- community/fpc/PKGBUILD | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'community/fpc/PKGBUILD') diff --git a/community/fpc/PKGBUILD b/community/fpc/PKGBUILD index 16dd11444..6402d9213 100644 --- a/community/fpc/PKGBUILD +++ b/community/fpc/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 48312 2011-05-31 09:49:30Z spupykin $ +# $Id: PKGBUILD 53775 2011-08-08 08:05:51Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Valeriy Lyasotskiy # Contributor: Jan Willemson @@ -8,7 +8,7 @@ pkgname=fpc pkgver=2.4.4 -pkgrel=1 +pkgrel=3 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/" @@ -17,18 +17,31 @@ backup=("etc/fpc.cfg") depends=(ncurses) makedepends=(fpc) options=(zipman) -source=(ftp://ftp.freepascal.org/pub/fpc/dist/$pkgver/source/fpcbuild-$pkgver.tar.gz) -md5sums=('d069dfd3412bd0d26dcd1b81ac998305') +source=(ftp://ftp.freepascal.org/pub/fpc/dist/$pkgver/source/fpcbuild-$pkgver.tar.gz + Makefile-mk382.diff) +md5sums=('d069dfd3412bd0d26dcd1b81ac998305' + 'a2242d261b055d08fa4d70e88ca1d1a7') build() { cd ${srcdir}/fpcbuild-$pkgver + pushd fpcsrc/compiler + patch -uN Makefile.fpc $srcdir/Makefile-mk382.diff + fpcmake -Tall + popd make NOGDB=1 build +# make NOGDB=1 build OS_TARGET=win32 CPU_TARGET=i386 } package() { cd ${srcdir}/fpcbuild-$pkgver + + export HOME=$srcdir + make -j1 NOGDB=1 PREFIX=${pkgdir}/usr install +# make NOGDB=1 PREFIX=${pkgdir}/usr crossinstall OS_TARGET=win32 CPU_TARGET=i386 +# ln -s /usr/lib/fpc/$pkgver/ppcross386 $pkgdir/usr/bin/ppcross386 + # install package license install -m 755 -d ${pkgdir}/usr/share/licenses/${pkgname} install -m 644 fpcsrc/rtl/COPYING.FPC ${pkgdir}/usr/share/licenses/${pkgname}/ -- cgit v1.2.3-54-g00ecf